aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorLarry Finger <[email protected]>2014-04-09 11:12:58 -0500
committerGreg Kroah-Hartman <[email protected]>2014-04-16 11:46:18 -0700
commit9452bf560273e4de2395ffdd79024debfb0c1290 (patch)
treeae8ba1a8e83bb72cb2b7e1f725996cc6cf5e336f /tools/perf/util/scripting-engines/trace-event-python.c
parentb34aa86f12e8848ba453215602c8c50fa63c4cb3 (diff)
staging: r8188eu: Calling rtw_get_stainfo() with a NULL sta_addr will return NULL
This makes the follow-on check for psta != NULL pointless and makes the whole exercise rather pointless. This is another case of why blindly zero-initializing variables when they are declared is bad. Reported-by: Jes Sorensen <[email protected]> Signed-off-by: Larry Finger <[email protected]> Cc: Stable <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions