OSDN Git Service

wifi: b43legacy: Remove the unused function prev_slot()
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Thu, 30 Mar 2023 02:18:41 +0000 (10:18 +0800)
committerKalle Valo <kvalo@kernel.org>
Mon, 3 Apr 2023 13:42:36 +0000 (16:42 +0300)
commite83ce86aa7d914484038b181725718136387c7e1
tree4e8c0ad95009fc0333db0b60524387f5ee85d8f4
parent5995f746310108b11c7e377b0ebac4c98e53f9dc
wifi: b43legacy: Remove the unused function prev_slot()

The function prev_slot is defined in the dma.c file, but not called
elsewhere, so remove this unused function.

drivers/net/wireless/broadcom/b43legacy/dma.c:130:19: warning: unused function 'prev_slot'.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=4642
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20230330021841.67724-1-jiapeng.chong@linux.alibaba.com
drivers/net/wireless/broadcom/b43legacy/dma.c