]> git.baikalelectronics.ru Git - kernel.git/commit
Staging: crystalhd: remove an unneeded NULL check
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 30 May 2013 08:00:34 +0000 (11:00 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 3 Jun 2013 19:26:18 +0000 (12:26 -0700)
commite5a896411b7533f525eee48c33bdeb148a9d4add
treefc2ca5c51a1f5e45aec4cc33784ec9b8ffb5a2e2
parent4dc3bd957b0b707993388752a01f1fe861351be5
Staging: crystalhd: remove an unneeded NULL check

We already established earlier in the function that "temp" is
non-NULL.  We also don't need to set to NULL because it's a stack
variable an we return immediately.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/crystalhd/crystalhd_lnx.c