diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-07-27 09:35:24 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-07-30 09:52:04 +0200 |
commit | db0e6a573e9c54151cdc828e80ab82849802337f (patch) | |
tree | 3635176511d181a041c3711bc6131d432ffd9095 /drivers/staging/olpc_dcon | |
parent | 149726d3d78a6053445aaff6361374a0b67b7ac1 (diff) |
staging: vc04_services: fix unused-but-set-variable warning
Fix gcc used-but-set-variable warning:
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c: In function vchiq_release_internal:
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c:2827:16: warning:
variable local_entity_uc set but not used [-Wunused-but-set-variable]
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c:2827:6: warning:
variable local_uc set but not used [-Wunused-but-set-variable]
Remove the unused variables 'local_entity_uc' and 'local_uc'
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Acked-by: Stefan Wahren <wahrenst@gmx.net>
Link: https://lore.kernel.org/r/20190727013524.33168-1-yuehaibing@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/olpc_dcon')
0 files changed, 0 insertions, 0 deletions