]> www.infradead.org Git - users/jedix/linux-maple.git/commit
RDMA/ipoib: Remove unused declarations
authorZhang Zekun <zhangzekun11@huawei.com>
Sun, 18 Aug 2024 05:57:02 +0000 (13:57 +0800)
committerJason Gunthorpe <jgg@nvidia.com>
Mon, 19 Aug 2024 18:19:52 +0000 (15:19 -0300)
commite2e641fe1c69bbbe94a89e814967da50e6df226b
tree5c745c1e898e875b4a85b2f4a113b6979a0d0a62
parent1fb797af8a4bb0569c1bc8bf95b630ecaf7bd38e
RDMA/ipoib: Remove unused declarations

There are some declarations without function definition, which are listed
as below:

1. ipoib_ib_tx_timer_func() has also been removed since
   commit 8966e28d2e40 ("IB/ipoib: Use NAPI in UD/TX flows")

2. ipoib_pkey_event() has been removed since
   commit ee1e2c82c245 ("IPoIB: Refresh paths instead of flushing them on
   SM change events")

3. ipoib_mcast_dev_down() has been removed since
   commit 988bd50300ef ("IPoIB: Fix memory leak of multicast group
   structures")

4. ipoib_pkey_open() has been removed since
   commit dd57c9308aff ("IB/ipoib: Avoid multicast join attempts with
   invalid P_key")

Remove these unused declarations.

Link: https://patch.msgid.link/r/20240818055702.79547-3-zhangzekun11@huawei.com
Signed-off-by: Zhang Zekun <zhangzekun11@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/ulp/ipoib/ipoib.h