Skip to content
This repository was archived by the owner on Oct 3, 2024. It is now read-only.

Commit 7d722c9

Browse files
Tom Rixdavem330
Tom Rix
authored andcommitted
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 7f247f5 commit 7d722c9

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

drivers/net/usb/plusb.c

-6
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,6 @@ pl_vendor_req(struct usbnet *dev, u8 req, u8 val, u8 index)
6161
val, index, NULL, 0);
6262
}
6363

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-
7064
static inline int
7165
pl_set_QuickLink_features(struct usbnet *dev, int val)
7266
{

0 commit comments

Comments
 (0)