diff options
author | Sudip Mukherjee <sudipm.mukherjee@gmail.com> | 2014-11-07 16:50:46 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-11-07 09:47:29 -0800 |
commit | d48037f9169f653d1124eb75157293d875e7e57f (patch) | |
tree | 018494c15b8196f93139af9fe86bd8c9d861f876 /drivers/i2c/i2c-stub.c | |
parent | c78a964c251bb82aa3454440e082b91a836105ae (diff) |
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/i2c/i2c-stub.c')
0 files changed, 0 insertions, 0 deletions