aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2017-11-07 14:39:14 +0000
committerFelipe Balbi <[email protected]>2017-12-11 12:36:51 +0200
commit71a9fda36829273eac4770dd539c80303969c5d8 (patch)
tree0ec25d24ebfc7788979cda5edbc0f09fbfa3991e /tools/perf/scripts/python/bin/stackcollapse-record
parent1fd4c45d6cd39a09bd8c7cbd57a7e83da97b51bf (diff)
usb: gadget: pxa27x: Remove redundant assignment to is_short and dev
Variable is_short is set to zero but this value is never read as it is overwritten with a new value later on, hence it is a redundant assignment and can be removed. Pointer dev is assigned a value that is not read and it is updated a few statements later, this too is redundant and can be removed. Cleans up clan warnings: drivers/usb/gadget/udc/pxa27x_udc.c:986:3: warning: Value stored to 'is_short' is never read drivers/usb/gadget/udc/pxa27x_udc.c:1141:2: warning: Value stored to 'dev' is never read Acked-by: Robert Jarzmik <[email protected]> Signed-off-by: Colin Ian King <[email protected]> Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions