]> 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)
commitf961b135753477773a8310c5346f844f2bb6ac27
treefc2ca5c51a1f5e45aec4cc33784ec9b8ffb5a2e2
parent59fd0bec4d4b01e24eea3a65b6a2c92571b162d8
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