diff options
author | Bart Van Assche <bart.vanassche@sandisk.com> | 2017-01-10 22:15:42 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-01-11 00:52:47 +0300 |
commit | c8b82182cb35c256cc0417c1d31a8421d7c87736 (patch) | |
tree | a92a4d32b32455e09a77e3e052f6153fd167fd47 /drivers | |
parent | 2bec3baded4ff46f51c1810e0dd8dfda55f05451 (diff) | |
download | linux-c8b82182cb35c256cc0417c1d31a8421d7c87736.tar.xz |
IB/rxe: Remove an unused function
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Reviewed-by: Andrew Boyer <andrew.boyer@dell.com>
Cc: Moni Shoua <monis@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/infiniband/sw/rxe/rxe_pool.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/infiniband/sw/rxe/rxe_pool.c b/drivers/infiniband/sw/rxe/rxe_pool.c index 238a6be00d46..4fe11148b304 100644 --- a/drivers/infiniband/sw/rxe/rxe_pool.c +++ b/drivers/infiniband/sw/rxe/rxe_pool.c @@ -112,13 +112,6 @@ static inline struct kmem_cache *pool_cache(struct rxe_pool *pool) return rxe_type_info[pool->type].cache; } -static inline enum rxe_elem_type rxe_type(void *arg) -{ - struct rxe_pool_entry *elem = arg; - - return elem->pool->type; -} - int rxe_cache_init(void) { int err; |