misc: panel: Remove always-true check from panel_detach()
authorGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 6 Feb 2017 14:38:08 +0000 (15:38 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Feb 2017 14:32:53 +0000 (15:32 +0100)
commit3f77b43965054c17fbc3111650c4e90f294a7bbe
tree4547d73551e38a7cddab21852e151a585b3b7b42
parent9db3cf1ccd5f78ad5c2a01a2fd5c5774d0ed0f6f
misc: panel: Remove always-true check from panel_detach()

panel_detach() already verified that pptr is a valid pointer.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/panel.c