]> git.karo-electronics.de Git - linux-beck.git/commit
staging: r8712u: Merging Realtek's latest (v2.6.6). Redundant NULL check.
authorAli Bahar <ali@internetdog.org>
Sat, 3 Sep 2011 19:14:10 +0000 (03:14 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 7 Sep 2011 00:00:31 +0000 (17:00 -0700)
commit99f5ff39d24915533d5bcf557e75116c706bd6dd
tree3dc3f8fbc79a1f0e835da15252247c8b83731878
parent7568ac94fa4e776a69603916b759d341d98423d9
staging: r8712u: Merging Realtek's latest (v2.6.6). Redundant NULL check.

Removed the redundant NULL check in LedControl871x.
As noted by Dan Carpenter, the address of a stack variable is never NULL.

Signed-off-by: Ali Bahar <ali@internetDog.org>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/rtl8712/rtl8712_led.c