OSDN Git Service

staging: vc04_services: remove set but not used 'local_entity_uc'
authorJason Yan <yanaijie@huawei.com>
Thu, 9 Apr 2020 08:53:39 +0000 (16:53 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Apr 2020 12:53:21 +0000 (14:53 +0200)
commita6a002fd8934806ce89c96ea697803cda8ba944f
tree16c886ef22a8fd1d6251aeb3bd08cf8dc7639c31
parent9485a408ae31ed93325d1109dab0d692661cf8a2
staging: vc04_services: remove set but not used 'local_entity_uc'

Fix the following gcc warning:

drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c:2356:16:
warning: variable ‘local_entity_uc’ set but not used
[-Wunused-but-set-variable]
  int local_uc, local_entity_uc;
                ^~~~~~~~~~~~~~~

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Jason Yan <yanaijie@huawei.com>
Link: https://lore.kernel.org/r/20200409085339.47255-1-yanaijie@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c