aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/line6/driver.h
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2012-10-15 20:26:46 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-10-22 15:50:08 -0700
commitb430b3dbdb74e86ee7da7a335cbca2c630167528 (patch)
treead6462bd0d2eef5035903fa39e49358ea8c45ee7 /drivers/staging/line6/driver.h
parent8d64c32b9b2dcf6b647987a04587e55be70c3676 (diff)
staging: line6: drop unused line6_devices[] array
There is no reason to limit the number of line6 devices. Drop the static array. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/line6/driver.h')
-rw-r--r--drivers/staging/line6/driver.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/line6/driver.h b/drivers/staging/line6/driver.h
index a3029eb223d..35246cfcd91 100644
--- a/drivers/staging/line6/driver.h
+++ b/drivers/staging/line6/driver.h
@@ -25,7 +25,6 @@
#endif
#define LINE6_TIMEOUT 1
-#define LINE6_MAX_DEVICES 8
#define LINE6_BUFSIZE_LISTEN 32
#define LINE6_MESSAGE_MAXLEN 256
@@ -78,7 +77,6 @@ do { \
} while (0)
extern const unsigned char line6_midi_id[3];
-extern struct usb_line6 *line6_devices[LINE6_MAX_DEVICES];
static const int SYSEX_DATA_OFS = sizeof(line6_midi_id) + 3;
static const int SYSEX_EXTRA_SIZE = sizeof(line6_midi_id) + 4;