From 4ef7909970bbed5e911f3d5e3d27ecedb80cec0e Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Thu, 7 Jan 2016 15:16:08 -0700 Subject: 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 Reviewed-by: Marek Vasut --- common/usb_storage.c | 1 - 1 file changed, 1 deletion(-) (limited to 'common/usb_storage.c') diff --git a/common/usb_storage.c b/common/usb_storage.c index 4fdb55f9fa..8737cf7cea 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]; -- cgit v1.2.1