diff options
author | Tom Rix <trix@redhat.com> | 2023-03-18 14:13:42 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-03-20 11:16:27 +0100 |
commit | 7d722c9802d4bd61a1f1614e07413b6a5fac382d (patch) | |
tree | 20e4ac307ebbd27105f7e13a07520c9e0a072ade /drivers/net/usb/plusb.c | |
parent | net: usb: lan78xx: Limit packet length to skb->len (diff) | |
download | linux-7d722c9802d4bd61a1f1614e07413b6a5fac382d.tar.xz linux-7d722c9802d4bd61a1f1614e07413b6a5fac382d.zip |
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>
Diffstat (limited to 'drivers/net/usb/plusb.c')
-rw-r--r-- | drivers/net/usb/plusb.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/net/usb/plusb.c b/drivers/net/usb/plusb.c index 7a2b0094de51..2894114858a2 100644 --- a/drivers/net/usb/plusb.c +++ b/drivers/net/usb/plusb.c @@ -62,12 +62,6 @@ pl_vendor_req(struct usbnet *dev, u8 req, u8 val, u8 index) } 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) { return pl_vendor_req(dev, 3, (u8) val, 0); |