diff options
| author | Colin Ian King <[email protected]> | 2017-11-07 14:39:14 +0000 |
|---|---|---|
| committer | Felipe Balbi <[email protected]> | 2017-12-11 12:36:51 +0200 |
| commit | 71a9fda36829273eac4770dd539c80303969c5d8 (patch) | |
| tree | 0ec25d24ebfc7788979cda5edbc0f09fbfa3991e /tools/perf/scripts/python/bin | |
| parent | 1fd4c45d6cd39a09bd8c7cbd57a7e83da97b51bf (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')
0 files changed, 0 insertions, 0 deletions