]> www.infradead.org Git - users/jedix/linux-maple.git/commit
cxgb4: Remove unused cxgb4_get_srq_entry
authorDr. David Alan Gilbert <linux@treblig.org>
Sun, 13 Oct 2024 20:38:28 +0000 (21:38 +0100)
committerJakub Kicinski <kuba@kernel.org>
Tue, 15 Oct 2024 23:46:27 +0000 (16:46 -0700)
commit10f6ef31f8615d7d1953e30642814683b0eb52fe
tree803ad9255b2b30f81fb7c92be5b2212fc7d1f05c
parentb4701c6359c8e9ff53a7984a627c22ade8f17874
cxgb4: Remove unused cxgb4_get_srq_entry

cxgb4_get_srq_entry() has been unused since 2018's commit
e47094751ddc ("cxgb4: Add support to initialise/read SRQ entries")
which added it.

Remove it.

Note: I'm a bit suspicious whether any of the srq code in there
actually does anything useful;  without this get I can't see anything
that reads the data, so perhaps the whole thing should go?
But that however would remove one of the opcode handlers, and I have
no way to test that.

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Reviewed-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Link: https://patch.msgid.link/20241013203831.88051-4-linux@treblig.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/chelsio/cxgb4/srq.c
drivers/net/ethernet/chelsio/cxgb4/srq.h