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)
commit402fe7a5728789f3a3998d2823b7a110f4cd924e
treed55a77b6ee3a0b2c0fbfef908930fc58d55505c8
parenta887b59f6a168e13a7608c64b61e6d5b769f80ee
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