diff options
-rw-r--r-- | drivers/staging/line6/driver.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/drivers/staging/line6/driver.c b/drivers/staging/line6/driver.c index 351e8606db3d..c476fcc3acf8 100644 --- a/drivers/staging/line6/driver.c +++ b/drivers/staging/line6/driver.c | |||
@@ -1315,25 +1315,6 @@ static int __init line6_init(void) | |||
1315 | */ | 1315 | */ |
1316 | static void __exit line6_exit(void) | 1316 | static void __exit line6_exit(void) |
1317 | { | 1317 | { |
1318 | int i; | ||
1319 | struct usb_line6 *line6; | ||
1320 | struct snd_line6_pcm *line6pcm; | ||
1321 | |||
1322 | /* stop all PCM channels */ | ||
1323 | for (i = LINE6_MAX_DEVICES; i--;) { | ||
1324 | line6 = line6_devices[i]; | ||
1325 | |||
1326 | if (line6 == NULL) | ||
1327 | continue; | ||
1328 | |||
1329 | line6pcm = line6->line6pcm; | ||
1330 | |||
1331 | if (line6pcm == NULL) | ||
1332 | continue; | ||
1333 | |||
1334 | line6_pcm_release(line6pcm, ~0); | ||
1335 | } | ||
1336 | |||
1337 | usb_deregister(&line6_driver); | 1318 | usb_deregister(&line6_driver); |
1338 | } | 1319 | } |
1339 | 1320 | ||