diff options
-rw-r--r-- | drivers/char/pcmcia/synclink_cs.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/char/pcmcia/synclink_cs.c b/drivers/char/pcmcia/synclink_cs.c index a63970f76967..0ea9986059af 100644 --- a/drivers/char/pcmcia/synclink_cs.c +++ b/drivers/char/pcmcia/synclink_cs.c | |||
@@ -2347,8 +2347,6 @@ static void mgslpc_close(struct tty_struct *tty, struct file * filp) | |||
2347 | printk("%s(%d):mgslpc_close(%s) entry, count=%d\n", | 2347 | printk("%s(%d):mgslpc_close(%s) entry, count=%d\n", |
2348 | __FILE__, __LINE__, info->device_name, port->count); | 2348 | __FILE__, __LINE__, info->device_name, port->count); |
2349 | 2349 | ||
2350 | WARN_ON(!port->count); | ||
2351 | |||
2352 | if (tty_port_close_start(port, tty, filp) == 0) | 2350 | if (tty_port_close_start(port, tty, filp) == 0) |
2353 | goto cleanup; | 2351 | goto cleanup; |
2354 | 2352 | ||