瀏覽代碼

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>
Bart Van Assche 8 年之前
父節點
當前提交
c8b82182cb
共有 1 個文件被更改,包括 0 次插入7 次删除
  1. 0 7
      drivers/infiniband/sw/rxe/rxe_pool.c

+ 0 - 7
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;
 	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 rxe_cache_init(void)
 {
 {
 	int err;
 	int err;