tty: Remove !tty check from free_tty_struct()
free_tty_struct() is never called with NULL tty; the two call sites would already have faulted on earlier access. Signed-off-by: NPeter Hurley <peter@hurleysoftware.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
想要评论请 注册 或 登录