]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] tty: remove bogus call to cdev_del()
authorRolf Eike Beer <eike-kernel@sf-tec.de>
Sun, 27 Aug 2006 08:23:27 +0000 (01:23 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 27 Aug 2006 18:01:28 +0000 (11:01 -0700)
commitcc36e7f124da139a819ad316c39d9dbcb5ba1897
tree869cec3385a820bfc7b286c9bdc91fa47d4ada22
parent641741e010b615bae417c876a21d17dbd616241f
[PATCH] tty: remove bogus call to cdev_del()

When cdev_add() failed there is no reason to call cdev_del().

Signed-off-by: Rolf Eike Beer <eike-kernel@sf-tec.de>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/tty_io.c