diff options
author | Simon Glass <sjg@chromium.org> | 2016-01-07 15:16:08 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-01-20 19:06:23 -0700 |
commit | 4ef7909970bbed5e911f3d5e3d27ecedb80cec0e (patch) | |
tree | 1c3e7e58cc98c13149fee6cd4d5edb291b2f6e79 /common | |
parent | bb883f824c6ba4e6f530f3214afd9e492604a873 (diff) | |
download | u-boot-imx-4ef7909970bbed5e911f3d5e3d27ecedb80cec0e.zip u-boot-imx-4ef7909970bbed5e911f3d5e3d27ecedb80cec0e.tar.gz u-boot-imx-4ef7909970bbed5e911f3d5e3d27ecedb80cec0e.tar.bz2 |
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>
Diffstat (limited to 'common')
-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]; |