aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/line6/driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/line6/driver.c')
-rw-r--r--drivers/staging/line6/driver.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/staging/line6/driver.c b/drivers/staging/line6/driver.c
index e8023afd365..312905afe5e 100644
--- a/drivers/staging/line6/driver.c
+++ b/drivers/staging/line6/driver.c
@@ -1297,13 +1297,10 @@ static struct usb_driver line6_driver = {
*/
static int __init line6_init(void)
{
- int i, retval;
+ int retval;
printk(KERN_INFO "%s driver version %s\n", DRIVER_NAME, DRIVER_VERSION);
- for (i = LINE6_MAX_DEVICES; i--;)
- line6_devices[i] = NULL;
-
retval = usb_register(&line6_driver);
if (retval) {