diff options
author | Yuval Shaia <yuval.shaia@oracle.com> | 2018-04-20 17:05:03 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2018-04-27 19:17:56 +0300 |
commit | 10c47d560603a8ba9d74889028cf6728a2d845ca (patch) | |
tree | 5cb0c06c30b945b01c0e2ab3cf48191fafd00280 /drivers/infiniband/sw/rxe/rxe.h | |
parent | 7991d96dd137408385f425cdf8ff815738ea2b49 (diff) | |
download | linux-10c47d560603a8ba9d74889028cf6728a2d845ca.tar.xz |
IB/rxe: Change rxe_rcv to return void
It always returns 0. Change return type to void.
Signed-off-by: Yuval Shaia <yuval.shaia@oracle.com>
Reviewed-by: Zhu Yanjun <yanjun.zhu@oracle.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/sw/rxe/rxe.h')
-rw-r--r-- | drivers/infiniband/sw/rxe/rxe.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/sw/rxe/rxe.h b/drivers/infiniband/sw/rxe/rxe.h index 561ad307c6ec..1275fde6503a 100644 --- a/drivers/infiniband/sw/rxe/rxe.h +++ b/drivers/infiniband/sw/rxe/rxe.h @@ -98,7 +98,7 @@ int rxe_add(struct rxe_dev *rxe, unsigned int mtu); void rxe_remove(struct rxe_dev *rxe); void rxe_remove_all(void); -int rxe_rcv(struct sk_buff *skb); +void rxe_rcv(struct sk_buff *skb); static inline void rxe_dev_put(struct rxe_dev *rxe) { |