aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2010-10-08 14:57:44 +0200
committerGreg Kroah-Hartman <[email protected]>2010-10-08 07:29:56 -0700
commit02339374cf3a28c30b5a137ab181eed358589dea (patch)
tree96f7342556c38a47013a3f6ed75dcb48233982d4 /tools/perf/scripts/python
parentef5d2056456d63528daa762b32afa5c430635f33 (diff)
Staging: bcm: remove unneeded NULL check
The error handling here is wrong. If psIntfAdapter were NULL then we would have a NULL dereference in the debug output on the error path. But this function is only called from usbbcm_device_probe() when psIntfAdapter is non-NULL. Since the check isn't needed and I removed it instead of fixing it. Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions