diff options
author | NeilBrown <[email protected]> | 2012-02-19 13:10:00 +1100 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2012-02-24 14:25:50 -0800 |
commit | b6c40b8581d5f2c88d18d7905b9ff6ba9956f506 (patch) | |
tree | 7d2ff7f8aeaff9848d47eb86386370215b4e2a44 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 93518dd2ebafcc761a8637b2877008cfd748c202 (diff) |
w1_bq27000: remove unnecessary NULL test.
As recent change means that we now dereference 'dev' before testing
for NULL.
That means either the change was wrong, or the test isn't needed.
As this function is only called from one driver (bq27x000_battery) and
it always passed a non-NULL dev, it seems good to assume that the
test isn't needed.
So remove it.
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: NeilBrown <[email protected]>
Acked-by: Evgeniy Polyakov <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions