aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb
diff options
context:
space:
mode:
authorMasahiro Yamada2016-09-21 11:28:59 +0900
committerTom Rini2016-09-23 22:25:43 -0400
commit4982f464203ea51665f6f4133535b7e8bfe98994 (patch)
treeaabc4245981c6a70a2dfbfd2cc38d1fc626ab7f1 /drivers/usb
parent2c61551b62dbd9df529dc06a412718b22cf02a82 (diff)
Move ENOTSUPP defines to include/linux/errno.h
Collect a couple of duplicated defines into a single place. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/gadget/rndis.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/gadget/rndis.c b/drivers/usb/gadget/rndis.c
index 42510a00334..844a0c72365 100644
--- a/drivers/usb/gadget/rndis.c
+++ b/drivers/usb/gadget/rndis.c
@@ -41,8 +41,6 @@
#define ETH_ZLEN 60 /* Min. octets in frame sans FCS */
#define ETH_DATA_LEN 1500 /* Max. octets in payload */
#define ETH_FRAME_LEN PKTSIZE_ALIGN /* Max. octets in frame sans FCS */
-#define ENOTSUPP 524 /* Operation is not supported */
-
/*
* The driver for your USB chip needs to support ep0 OUT to work with