summaryrefslogtreecommitdiffstats
path: root/drivers/staging/iio/meter/ade7758_core.c
diff options
context:
space:
mode:
authorSudip Mukherjee2014-11-07 12:20:46 +0100
committerGreg Kroah-Hartman2014-11-07 18:47:29 +0100
commitd48037f9169f653d1124eb75157293d875e7e57f (patch)
tree018494c15b8196f93139af9fe86bd8c9d861f876 /drivers/staging/iio/meter/ade7758_core.c
parentstaging: rtl8188eu: unneeded return variable (diff)
downloadkernel-qcow2-linux-d48037f9169f653d1124eb75157293d875e7e57f.tar.gz
kernel-qcow2-linux-d48037f9169f653d1124eb75157293d875e7e57f.tar.xz
kernel-qcow2-linux-d48037f9169f653d1124eb75157293d875e7e57f.zip
staging: rtl8188eu: unneeded NULL check
before these NULL checks we are already checking it for NULL, and if it is NULL then we are jumping to the error label and handling the error before returning. So we can reach this part of the code only if the variable is known to be not NULL, and if we already know that it is not NULL, then no need to check it again. Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/iio/meter/ade7758_core.c')
0 files changed, 0 insertions, 0 deletions