]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: mediatek: ppe: Remove the unused function mtk_foe_entry_usable()
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Mon, 17 Oct 2022 06:49:20 +0000 (14:49 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Oct 2022 08:36:39 +0000 (09:36 +0100)
commit50efab9133b66215050e4c0a8fbafc027516dac8
treed55a77b6ee3a0b2c0fbfef908930fc58d55505c8
parente4b99fcfba2167c5846ccc003136922751eca24d
net: ethernet: mediatek: ppe: Remove the unused function mtk_foe_entry_usable()

The function mtk_foe_entry_usable() is defined in the mtk_ppe.c file, but
not called elsewhere, so delete this unused function.

drivers/net/ethernet/mediatek/mtk_ppe.c:400:20: warning: unused function 'mtk_foe_entry_usable'.

Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2409
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mediatek/mtk_ppe.c