Thread (3 messages) 3 messages, 3 authors, 2021-03-25

[PATCH net-next] net: usb: pegasus: Remove duplicated include from pegasus.c

flat view
STALE2027d

From: 'Qiheng Lin <hidden>
Date: 2021-03-25 14:58:04
Also in: kernel-janitors, linux-usb
Subsystem: networking drivers, the rest, usb networking drivers, usb pegasus driver · Maintainers: Andrew Lunn, "David S. Miller", Eric Dumazet, Jakub Kicinski, Paolo Abeni, Linus Torvalds, Petko Manolov

From: Qiheng Lin <redacted>

Remove duplicated include.

Reported-by: Hulk Robot <redacted>
Signed-off-by: Qiheng Lin <redacted>
---
 drivers/net/usb/pegasus.c | 2 --
 1 file changed, 2 deletions(-)
diff --git a/drivers/net/usb/pegasus.c b/drivers/net/usb/pegasus.c
index 9a907182569c..e0ee5c096396 100644
--- a/drivers/net/usb/pegasus.c
+++ b/drivers/net/usb/pegasus.c
@@ -65,7 +65,6 @@ static struct usb_eth_dev usb_dev_id[] = {
 	{.name = pn, .vendor = vid, .device = pid, .private = flags},
 #define PEGASUS_DEV_CLASS(pn, vid, pid, dclass, flags) \
 	PEGASUS_DEV(pn, vid, pid, flags)
-#include "pegasus.h"
 #undef	PEGASUS_DEV
 #undef	PEGASUS_DEV_CLASS
 	{NULL, 0, 0, 0},
@@ -84,7 +83,6 @@ static struct usb_device_id pegasus_ids[] = {
 #define PEGASUS_DEV_CLASS(pn, vid, pid, dclass, flags) \
 	{.match_flags = (USB_DEVICE_ID_MATCH_DEVICE | USB_DEVICE_ID_MATCH_DEV_CLASS), \
 	.idVendor = vid, .idProduct = pid, .bDeviceClass = dclass},
-#include "pegasus.h"
 #undef	PEGASUS_DEV
 #undef	PEGASUS_DEV_CLASS
 	{},
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help