aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>2016-06-06 22:23:32 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-06-07 22:18:39 -0700
commit7c348f1cfb6d8c6911fcb6d13b4c267a8bc93856 (patch)
tree9f56caf6b7dfe6b728dd1bf825857c7f21f7bd38 /tools/perf/scripts/python/bin/stackcollapse-record
parentusb: microtek: Use "foo *bar" instead of "foo * bar". (diff)
downloadlinux-7c348f1cfb6d8c6911fcb6d13b4c267a8bc93856.tar.gz
linux-7c348f1cfb6d8c6911fcb6d13b4c267a8bc93856.zip
usb: usbip: remove null check
The only caller of get_gadget_descs() has already dereferenced udc before calling this function, so udc can not be NULL at this point of the code and hence no use of checking it. Signed-off-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk> Reviewed-by: Krzysztof Opasiak <k.opasiak@samsung.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions