IB/hfi1: Return void in packet receiving functions
authorGrzegorz Andrejczuk <grzegorz.andrejczuk@intel.com>
Mon, 6 Jan 2020 13:42:22 +0000 (08:42 -0500)
committerJason Gunthorpe <jgg@mellanox.com>
Fri, 10 Jan 2020 14:57:17 +0000 (10:57 -0400)
commitd791d294edd2f96e5200882f789e8cb4ed431991
treebf6e8787e0e24c1d43f902d2c2ce3e8339a82d60
parent13d2a8384bd9b2dc3f737b19e3d74c845590e6eb
IB/hfi1: Return void in packet receiving functions

Packet receiving functions returns int value, and yet the return values
are not used at all.

This patch converts the functions to return void.

Link: https://lore.kernel.org/r/20200106134222.119356.84098.stgit@awfm-01.aw.intel.com
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Grzegorz Andrejczuk <grzegorz.andrejczuk@intel.com>
Signed-off-by: Kaike Wan <kaike.wan@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/hfi1/driver.c
drivers/infiniband/hw/hfi1/hfi.h