]> git.karo-electronics.de Git - karo-tx-linux.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)
commit2a1afdbf20ef028d6361c2257b3fef51a8df8b36
treefc2ca5c51a1f5e45aec4cc33784ec9b8ffb5a2e2
parent6441a57887281106ed01222c2b0561ab25f77212
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