diff options
Diffstat (limited to 'drivers/parport/daisy.c')
-rw-r--r-- | drivers/parport/daisy.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/parport/daisy.c b/drivers/parport/daisy.c index c4003dd27..3b13ea71a 100644 --- a/drivers/parport/daisy.c +++ b/drivers/parport/daisy.c @@ -160,10 +160,10 @@ void parport_daisy_fini (struct parport *port) while (prev) { dev = prev->next; - if (dev && dev->port == port) + if (dev && dev->port == port) { prev->next = dev->next; - - kfree (dev); + kfree (dev); + } prev = prev->next; } |