Commit 0220d488 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Jens Axboe

[PATCH] Amiga serial warning

Amiga serial: Kill unused variable warning
parent 5d6a2114
...@@ -2145,14 +2145,14 @@ static int __init rs_init(void) ...@@ -2145,14 +2145,14 @@ static int __init rs_init(void)
static __exit void rs_exit(void) static __exit void rs_exit(void)
{ {
int e1, e2; int error;
struct async_struct *info = rs_table[0].info; struct async_struct *info = rs_table[0].info;
/* printk("Unloading %s: version %s\n", serial_name, serial_version); */ /* printk("Unloading %s: version %s\n", serial_name, serial_version); */
tasklet_kill(&info->tlet); tasklet_kill(&info->tlet);
if ((e1 = tty_unregister_driver(serial_driver))) if ((error = tty_unregister_driver(serial_driver)))
printk("SERIAL: failed to unregister serial driver (%d)\n", printk("SERIAL: failed to unregister serial driver (%d)\n",
e1); error);
put_tty_driver(serial_driver); put_tty_driver(serial_driver);
if (info) { if (info) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment