commit | 23342262964722b41c7d06cfadc215039e48881b | [log] [tgz] |
---|---|---|
author | Jiri Slaby <jirislaby@gmail.com> | Sat Sep 19 13:13:13 2009 -0700 |
committer | Live-CD User <linux@linux.site> | Sat Sep 19 13:13:13 2009 -0700 |
tree | a422b1a07945d9b2bb6e3657de9c97478cdae920 | |
parent | 174e6fe01e7881caaa350b5e98e4c6189b6cb593 [diff] |
cyclades: close cleanup Use new tty helpers for close, which allows much code removal. The only real change is locking. card_lock for protecting was used inappropriately (just to have a critical section, no matter which lock is used), so the change to port->lock is fine. Remove also useless debug printks while being there. Signed-off-by: Jiri Slaby <jirislaby@gmail.com> Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>