diff options
author | Simon Glass <sjg@chromium.org> | 2016-01-07 22:16:08 (GMT) |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-01-21 02:06:23 (GMT) |
commit | 4ef7909970bbed5e911f3d5e3d27ecedb80cec0e (patch) | |
tree | 1c3e7e58cc98c13149fee6cd4d5edb291b2f6e79 | |
parent | bb883f824c6ba4e6f530f3214afd9e492604a873 (diff) | |
download | u-boot-fsl-qoriq-4ef7909970bbed5e911f3d5e3d27ecedb80cec0e.tar.xz |
usb: Define USB_MAX_STOR_DEV in only one place
We can define this in the header file and use it in usb_storage.c. There is
no need to define it twice. Remove the #define from usb_storage.c.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Marek Vasut <marex@denx.de>
-rw-r--r-- | common/usb_storage.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/common/usb_storage.c b/common/usb_storage.c index 4fdb55f..8737cf7 100644 --- a/common/usb_storage.c +++ b/common/usb_storage.c @@ -65,7 +65,6 @@ static const unsigned char us_direction[256/8] = { static ccb usb_ccb __attribute__((aligned(ARCH_DMA_MINALIGN))); static __u32 CBWTag; -#define USB_MAX_STOR_DEV 7 static int usb_max_devs; /* number of highest available usb device */ static block_dev_desc_t usb_dev_desc[USB_MAX_STOR_DEV]; |