diff options
author | Laurentiu Tudor <laurentiu.tudor@nxp.com> | 2019-05-29 13:28:43 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2019-06-03 17:00:08 +0300 |
commit | 2d7a3dc3e24f43504b1f25eae8195e600f4cce8b (patch) | |
tree | 64a85b7873d82779000de66a071ae50157a75d2d /include/linux/usb | |
parent | 7d99532955d4649ba1417fb5a80252e0ce40f1e2 (diff) | |
download | linux-2d7a3dc3e24f43504b1f25eae8195e600f4cce8b.tar.xz |
USB: drop HCD_LOCAL_MEM flag
With the addition of the local memory allocator, the HCD_LOCAL_MEM
flag can be dropped and the checks against it replaced with a check
for the localmem_pool ptr being initialized.
Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Tested-by: Fredrik Noring <noring@nocrew.org>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'include/linux/usb')
-rw-r--r-- | include/linux/usb/hcd.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/usb/hcd.h b/include/linux/usb/hcd.h index 127560a4bfa0..bab27ccc8ff5 100644 --- a/include/linux/usb/hcd.h +++ b/include/linux/usb/hcd.h @@ -256,7 +256,6 @@ struct hc_driver { int flags; #define HCD_MEMORY 0x0001 /* HC regs use memory (else I/O) */ -#define HCD_LOCAL_MEM 0x0002 /* HC needs local memory */ #define HCD_SHARED 0x0004 /* Two (or more) usb_hcds share HW */ #define HCD_USB11 0x0010 /* USB 1.1 */ #define HCD_USB2 0x0020 /* USB 2.0 */ |