diff options
| author | YueHaibing <[email protected]> | 2019-06-19 04:32:25 +0000 |
|---|---|---|
| committer | Santosh Shilimkar <[email protected]> | 2019-06-19 04:32:25 +0000 |
| commit | 4c960505df44b94001178575a505dd8315086edc (patch) | |
| tree | c11002280e2b31fda076525cae8eb665ad0eefe2 /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | firmware: ti_sci: Use the correct style for SPDX License Identifier (diff) | |
| download | kernel-4c960505df44b94001178575a505dd8315086edc.tar.gz kernel-4c960505df44b94001178575a505dd8315086edc.zip | |
firmware: ti_sci: Fix gcc unused-but-set-variable warning
Fixes gcc '-Wunused-but-set-variable' warning:
drivers/firmware/ti_sci.c: In function ti_sci_cmd_ring_config:
drivers/firmware/ti_sci.c:2035:17: warning: variable dev set but not used [-Wunused-but-set-variable]
drivers/firmware/ti_sci.c: In function ti_sci_cmd_ring_get_config:
drivers/firmware/ti_sci.c:2104:17: warning: variable dev set but not used [-Wunused-but-set-variable]
drivers/firmware/ti_sci.c: In function ti_sci_cmd_rm_udmap_tx_ch_cfg:
drivers/firmware/ti_sci.c:2287:17: warning: variable dev set but not used [-Wunused-but-set-variable]
drivers/firmware/ti_sci.c: In function ti_sci_cmd_rm_udmap_rx_ch_cfg:
drivers/firmware/ti_sci.c:2357:17: warning: variable dev set but not used [-Wunused-but-set-variable]
Use the 'dev' variable instead of info->dev to fix this.
Acked-by: Suman Anna <[email protected]>
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: YueHaibing <[email protected]>
Signed-off-by: Santosh Shilimkar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
