diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-06-19 06:32:25 +0200 |
---|---|---|
committer | Santosh Shilimkar <santosh.shilimkar@oracle.com> | 2019-06-19 06:32:25 +0200 |
commit | 4c960505df44b94001178575a505dd8315086edc (patch) | |
tree | c11002280e2b31fda076525cae8eb665ad0eefe2 /include/sound/tlv.h | |
parent | firmware: ti_sci: Use the correct style for SPDX License Identifier (diff) | |
download | linux-4c960505df44b94001178575a505dd8315086edc.tar.xz linux-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 <s-anna@ti.com>
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Diffstat (limited to 'include/sound/tlv.h')
0 files changed, 0 insertions, 0 deletions