aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2015-02-11 17:34:03 +0000
committerDmitry Torokhov <[email protected]>2015-02-12 07:07:12 +0000
commit2b2f514705fa00df1bc01d68fe9decbb7d59fcc6 (patch)
tree3466bff37d99557ca76494be55ef702091a246fa /lib/mpi/mpiutil.c
parentInput: soc_button_array - use "Windows" key for "Home" (diff)
downloadkernel-2b2f514705fa00df1bc01d68fe9decbb7d59fcc6.tar.gz
kernel-2b2f514705fa00df1bc01d68fe9decbb7d59fcc6.zip
Input: pxa27x_keypad - remove an unneeded NULL check
Static checkers complain about this NULL check because we dereference it without checking a couple lines later. This function is only called when "keypad->pdata" is non-NULL so we can just delete the NULL test. Signed-off-by: Dan Carpenter <[email protected]> [Dmitry: remove the variable altogether given that it is used just once and dereference directly.] Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions