]> git.karo-electronics.de Git - linux-beck.git/commit
staging: comedi: ni_660x: ni_gpct_device_destroy() can handle a NULL pointer
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 22 Mar 2016 18:10:41 +0000 (11:10 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Mar 2016 14:30:36 +0000 (07:30 -0700)
commit26a0fe3ffa24c63a99b1fb314e03723c1e470ba0
tree818b117454dcfc7ee07ae40dda62d97e37a982fc
parent32f89d8e70106f2b636c716a7cfb7fe53cfc5ebf
staging: comedi: ni_660x: ni_gpct_device_destroy() can handle a NULL pointer

Remove the unnecessary NULL pointer check.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/ni_660x.c