[PATCH] tty: remove bogus call to cdev_del()
When cdev_add() failed there is no reason to call cdev_del(). Signed-off-by: NRolf Eike Beer <eike-kernel@sf-tec.de> Cc: Alan Cox <alan@lxorguk.ukuu.org.uk> Signed-off-by: NAndrew Morton <akpm@osdl.org> Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
Showing
想要评论请 注册 或 登录