net: cxgb3: remove unused fl_to_qset function
authorTom Rix <trix@redhat.com>
Sun, 19 Mar 2023 17:24:33 +0000 (13:24 -0400)
committerJakub Kicinski <kuba@kernel.org>
Tue, 21 Mar 2023 03:02:39 +0000 (20:02 -0700)
commita08df15eab0c572bc1d98c2392bcfcd744f26eda
tree244744841ad02a036427cc390c2852a219acd528
parent134d836861793e0b3631aeb432db91479eaa6a0b
net: cxgb3: remove unused fl_to_qset function

clang with W=1 reports
drivers/net/ethernet/chelsio/cxgb3/sge.c:169:32: error: unused function
  'fl_to_qset' [-Werror,-Wunused-function]
static inline struct sge_qset *fl_to_qset(const struct sge_fl *q, int qidx)
                               ^
This function is not used, so remove it.

Signed-off-by: Tom Rix <trix@redhat.com>
Reviewed-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Link: https://lore.kernel.org/r/20230319172433.1708161-1-trix@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/chelsio/cxgb3/sge.c