Re: [PATCH] soc: fsl: dpio: remove set but not used 'addr_cena'

2020-09-22 Thread Li Yang
On Sun, Sep 20, 2020 at 3:20 PM Krzysztof Kozlowski wrote: > > On Thu, 10 Sep 2020 at 16:57, Jason Yan wrote: > > > > 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/dpi

Re: [PATCH] soc: fsl: dpio: remove set but not used 'addr_cena'

2020-09-20 Thread Krzysztof Kozlowski
On Thu, 10 Sep 2020 at 16:57, Jason Yan wrote: > > 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 [-

[PATCH] soc: fsl: dpio: remove set but not used 'addr_cena'

2020-09-10 Thread Jason Yan
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;