soc: fsl: dpio: remove set but not used 'addr_cena'
authorJason Yan <yanaijie@huawei.com>
Thu, 10 Sep 2020 14:04:15 +0000 (22:04 +0800)
committerLi Yang <leoyang.li@nxp.com>
Tue, 22 Sep 2020 22:43:54 +0000 (17:43 -0500)
commit72f7fe2d6a2637c98ada42812ebfa0dcad0b0737
tree5605b750b8b46ab72120cb3855a2450ae13db399
parent750cf40c0f7088f36a8a5d102e0488b1ac47faf5
soc: fsl: dpio: remove set but not used 'addr_cena'

This addresses the following gcc warning with "make W=1":

drivers/soc/fsl/dpio/qbman-portal.c: In function
‘qbman_swp_enqueue_multiple_direct’:
drivers/soc/fsl/dpio/qbman-portal.c:650:11: warning: variable
‘addr_cena’ set but not used [-Wunused-but-set-variable]
  650 |  uint64_t addr_cena;
      |           ^~~~~~~~~

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Jason Yan <yanaijie@huawei.com>
Reported-by: kernel test robot <lkp@intel.com>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Li Yang <leoyang.li@nxp.com>
drivers/soc/fsl/dpio/qbman-portal.c