summaryrefslogtreecommitdiffstats
path: root/drivers/power/wm97xx_battery.c
diff options
context:
space:
mode:
authorIlia Mirkin <imirkin@alum.mit.edu>2011-03-13 00:29:16 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2011-03-14 11:57:38 -0700
commit4d527a7adbc47bdc357ddab513861e6a7636755e (patch)
tree0d87536398e7cf4ee9112cd0886c2b4c55e30bb8 /drivers/power/wm97xx_battery.c
parent1d5c536efeb9c109e330209867ae1242d42cdb7b (diff)
downloadop-kernel-dev-4d527a7adbc47bdc357ddab513861e6a7636755e.zip
op-kernel-dev-4d527a7adbc47bdc357ddab513861e6a7636755e.tar.gz
staging: winbond: Remove NULL check before kfree
This patch was generated by the following semantic patch: // <smpl> @@ expression E; @@ - if (E != NULL) { kfree(E); } + kfree(E); @@ expression E; @@ - if (E != NULL) { kfree(E); E = NULL; } + kfree(E); + E = NULL; // </smpl> Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/power/wm97xx_battery.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud