diff options
-rw-r--r-- | drivers/serial/serial_cs.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/serial/serial_cs.c b/drivers/serial/serial_cs.c index 649ce543327b..93760b2ea172 100644 --- a/drivers/serial/serial_cs.c +++ b/drivers/serial/serial_cs.c | |||
@@ -331,11 +331,6 @@ static void serial_detach(struct pcmcia_device *link) | |||
331 | dev_dbg(&link->dev, "serial_detach\n"); | 331 | dev_dbg(&link->dev, "serial_detach\n"); |
332 | 332 | ||
333 | /* | 333 | /* |
334 | * Ensure any outstanding scheduled tasks are completed. | ||
335 | */ | ||
336 | flush_scheduled_work(); | ||
337 | |||
338 | /* | ||
339 | * Ensure that the ports have been released. | 334 | * Ensure that the ports have been released. |
340 | */ | 335 | */ |
341 | serial_remove(link); | 336 | serial_remove(link); |