Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

usb: plusb: remove unused pl_clear_QuickLink_features function

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.

Signed-off-by: Tom Rix <trix@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Tom Rix and committed by
David S. Miller
7d722c98 7f247f5a

-6
-6
drivers/net/usb/plusb.c
··· 62 62 } 63 63 64 64 static inline int 65 - pl_clear_QuickLink_features(struct usbnet *dev, int val) 66 - { 67 - return pl_vendor_req(dev, 1, (u8) val, 0); 68 - } 69 - 70 - static inline int 71 65 pl_set_QuickLink_features(struct usbnet *dev, int val) 72 66 { 73 67 return pl_vendor_req(dev, 3, (u8) val, 0);