diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2015-02-11 20:34:03 +0300 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2015-02-12 10:07:12 +0300 |
commit | 2b2f514705fa00df1bc01d68fe9decbb7d59fcc6 (patch) | |
tree | 3466bff37d99557ca76494be55ef702091a246fa /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 791738be57473fddaf393dcedcef31b577231aaa (diff) | |
download | linux-2b2f514705fa00df1bc01d68fe9decbb7d59fcc6.tar.xz |
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 <dan.carpenter@oracle.com>
[Dmitry: remove the variable altogether given that it is used just once and
dereference directly.]
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions