summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-08-18 16:58:45 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-08-18 16:58:45 (GMT)
commit12e1a6a0f16168346cb8f33aff135ed523a9f097 (patch)
tree5f758ceb3060669316353fd42302d5092976fe07 /include
parent8c2ea97a3a4124628de2ed9a1f891c706788468a (diff)
downloadlinux-12e1a6a0f16168346cb8f33aff135ed523a9f097.tar.xz
Revert "usb: interface authorization: Introduces the default interface authorization"
This reverts commit 1d958bef45030acfc5578263e9de3bb07032b8da as the signed-off-by address is invalid. Cc: Stefan Koch <stefan.koch10@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/usb/hcd.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/linux/usb/hcd.h b/include/linux/usb/hcd.h
index 36ce3d2..d2784c1 100644
--- a/include/linux/usb/hcd.h
+++ b/include/linux/usb/hcd.h
@@ -120,7 +120,6 @@ struct usb_hcd {
#define HCD_FLAG_WAKEUP_PENDING 4 /* root hub is resuming? */
#define HCD_FLAG_RH_RUNNING 5 /* root hub is running? */
#define HCD_FLAG_DEAD 6 /* controller has died? */
-#define HCD_FLAG_INTF_AUTHORIZED 7 /* authorize interfaces? */
/* The flags can be tested using these macros; they are likely to
* be slightly faster than test_bit().
@@ -132,14 +131,6 @@ struct usb_hcd {
#define HCD_RH_RUNNING(hcd) ((hcd)->flags & (1U << HCD_FLAG_RH_RUNNING))
#define HCD_DEAD(hcd) ((hcd)->flags & (1U << HCD_FLAG_DEAD))
- /*
- * Specifies if interfaces are authorized by default
- * or they require explicit user space authorization; this bit is
- * settable through /sys/class/usb_host/X/interface_authorized_default
- */
-#define HCD_INTF_AUTHORIZED(hcd) \
- ((hcd)->flags & (1U << HCD_FLAG_INTF_AUTHORIZED))
-
/* Flags that get set only during HCD registration or removal. */
unsigned rh_registered:1;/* is root hub registered? */
unsigned rh_pollable:1; /* may we poll the root hub? */