Thread (2 messages) 2 messages, 2 authors, 2020-09-17

Re: [PATCH -next] PCI: dwc: Remove set but not used variable

From: Rob Herring <robh@kernel.org>
Date: 2020-09-17 15:07:53
Also in: linux-omap, linux-pci, lkml

On Thu, Sep 17, 2020 at 12:55 AM Liu Shixin [off-list ref] wrote:
Fixes gcc '-Wunused-but-set-variable' warning:

drivers/pci/controller/dwc/pci-dra7xx.c: In function 'dra7xx_pcie_establish_link':
drivers/pci/controller/dwc/pci-dra7xx.c:142:6: warning: unused variable 'exp_cap_off'
[-Wunused-variable]

After 3af45d34d30c ("PCI: dwc: Centralize link gen setting"), variable 'exp_cap_off'
is never used. Remove it to avoid build warning.
Already fixed in next.

Rob

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help