diff options
| author | Dr. David Alan Gilbert <linux@treblig.org> | 2024-12-21 04:40:19 +0300 |
|---|---|---|
| committer | Leon Romanovsky <leon@kernel.org> | 2024-12-24 13:00:42 +0300 |
| commit | ddc8fab40b9ae309052d37179a705430fc15db97 (patch) | |
| tree | 8ff0bb50c7e2c3f68e4fabd2a5eba9b8ca0befb5 /include/rdma/ib_cache.h | |
| parent | 30dd62fa3954cb7697dbae9c33b2a5c50d8b5c6a (diff) | |
| download | linux-ddc8fab40b9ae309052d37179a705430fc15db97.tar.xz | |
RDMA/core: Remove unused ib_find_exact_cached_pkey
The last use of ib_find_exact_cached_pkey() was removed in 2012
by commit 2c75d2ccb6e5 ("IB/mlx4: Fix QP1 P_Key processing in the Primary
Physical Function (PPF)")
Remove it.
Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Link: https://patch.msgid.link/20241221014021.343979-3-linux@treblig.org
Reviewed-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'include/rdma/ib_cache.h')
| -rw-r--r-- | include/rdma/ib_cache.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/include/rdma/ib_cache.h b/include/rdma/ib_cache.h index 226ae3702d8a..2bf09b594d10 100644 --- a/include/rdma/ib_cache.h +++ b/include/rdma/ib_cache.h @@ -64,22 +64,6 @@ int ib_find_cached_pkey(struct ib_device *device, u16 *index); /** - * ib_find_exact_cached_pkey - Returns the PKey table index where a specified - * PKey value occurs. Comparison uses the FULL 16 bits (incl membership bit) - * @device: The device to query. - * @port_num: The port number of the device to search for the PKey. - * @pkey: The PKey value to search for. - * @index: The index into the cached PKey table where the PKey was found. - * - * ib_find_exact_cached_pkey() searches the specified PKey table in - * the local software cache. - */ -int ib_find_exact_cached_pkey(struct ib_device *device, - u32 port_num, - u16 pkey, - u16 *index); - -/** * ib_get_cached_lmc - Returns a cached lmc table entry * @device: The device to query. * @port_num: The port number of the device to query. |
