usb: plusb: remove unused pl_clear_QuickLink_features function
Subsystems (4)
PATCH 1/1 usb: plusb: remove unused pl_clear_QuickLink_features function
clang with W=1 reportsdrivers/net/usb/plusb.c:65:1: error:
unused function 'pl_clear_QuickLink_features' [-Werror,-Wunused-function]pl_clear_QuickLink_features(struct usbnet *dev, int val)
^
This static function is not used, so remove it.
--- drivers/net/usb/plusb.c | 6 ------ 1 file changed, 6 deletions(-)
drivers/net/usb/plusb.c +0 -6
@@ -61,12 +61,6 @@ pl_vendor_req(struct usbnet *dev, u8 req, u8 val, u8 index) val, index, NULL, 0); } -static inline int -pl_clear_QuickLink_features (struct usbnet *dev,int val) -{ -return pl_vendor_req (dev,1 , (u8 ) val,0 ); -} -static inline int pl_set_QuickLink_features (struct usbnet *dev,int val) {
Signature · 1 line
2.27.0
This patch was applied to netdev/net.git (main) by David S. Miller <[email protected]>:
Hello:
This patch was applied to netdev/net.git (main)
by David S. Miller <[email protected]>:
Quoted 8 lines · On Sat, 18 Mar 2023 09:13:42 -0400 you wrote:
clang with W=1 reports
drivers/net/usb/plusb.c:65:1: error:
unused function 'pl_clear_QuickLink_features' [-Werror,-Wunused-function]pl_clear_QuickLink_features(struct usbnet *dev, int val)
^
This static function is not used, so remove it.[...]
Here is the summary with links:
- usb: plusb: remove unused pl_clear_QuickLink_features function
https://git.kernel.org/netdev/net/c/7d722c9802d4
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html