Re: [RFT v2 02/29] memory: omap-gpmc: Remove unused file-scope phys_base and mem_size

2020-08-17 Thread Krzysztof Kozlowski
On Fri, Jul 24, 2020 at 09:40:11AM +0200, Krzysztof Kozlowski wrote: > The file-scope variables phys_base and mem_size are assigned in > gpmc_probe() but never read. > > This fixes build error when compile testing on x86_64 architecture: > > drivers/memory/omap-gpmc.c:246:24: error:

[RFT v2 02/29] memory: omap-gpmc: Remove unused file-scope phys_base and mem_size

2020-07-24 Thread Krzysztof Kozlowski
The file-scope variables phys_base and mem_size are assigned in gpmc_probe() but never read. This fixes build error when compile testing on x86_64 architecture: drivers/memory/omap-gpmc.c:246:24: error: conflicting types for ‘phys_base’ static resource_size_t phys_base, mem_size; In