diff options
author | Greg Kroah-Hartman <gregkh@google.com> | 2016-08-17 13:21:51 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2016-09-02 14:20:56 +0200 |
commit | fc994f0f8363eb4c50361800c7d2217eb0306014 (patch) | |
tree | efd8a2db74a685f2ab8988427e1bc52e4576223c /drivers/staging | |
parent | 7330c48ec09367e8da65e3ebf642b6c37bf244e3 (diff) | |
download | op-kernel-dev-fc994f0f8363eb4c50361800c7d2217eb0306014.zip op-kernel-dev-fc994f0f8363eb4c50361800c7d2217eb0306014.tar.gz |
greybus: es2: remove unneeded BULK_* #defines
We don't need the defines for the number of bulk in or out endpoints
anymore, as the driver just grabs the first ones it finds and runs with
it.
Reviewed-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/greybus/es2.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/drivers/staging/greybus/es2.c b/drivers/staging/greybus/es2.c index 69123b7..4f10acc 100644 --- a/drivers/staging/greybus/es2.c +++ b/drivers/staging/greybus/es2.c @@ -46,15 +46,6 @@ MODULE_DEVICE_TABLE(usb, id_table); #define APB1_LOG_SIZE SZ_16K -/* Number of bulk in and bulk out couple */ -#define NUM_BULKS 1 - -/* Expected number of bulk out endpoints */ -#define NUM_BULKS_OUT NUM_BULKS - -/* Expected number of bulk in endpoints (including ARPC endpoint) */ -#define NUM_BULKS_IN (NUM_BULKS + 1) - /* * Number of CPort IN urbs in flight at any point in time. * Adjust if we are having stalls in the USB buffer due to not enough urbs in @@ -65,7 +56,7 @@ MODULE_DEVICE_TABLE(usb, id_table); /* Number of CPort OUT urbs in flight at any point in time. * Adjust if we get messages saying we are out of urbs in the system log. */ -#define NUM_CPORT_OUT_URB (8 * NUM_BULKS) +#define NUM_CPORT_OUT_URB 8 /* * Number of ARPC in urbs in flight at any point in time. |