Re: [PATCH] mfd: remove unused variables

2015-10-08 Thread Lee Jones
On Thu, 08 Oct 2015, Lee Jones wrote: > On Wed, 07 Oct 2015, Arnd Bergmann wrote: > > > A mass-cleanup by Javier Martinez Canillas removed a lot of > > unused code, but left at least two variables in mfd drivers > > in place that are now causing warnings: > > > > drivers/mfd/rtsx_pcr.c: In funct

Re: [PATCH] mfd: remove unused variables

2015-10-08 Thread Lee Jones
On Wed, 07 Oct 2015, Arnd Bergmann wrote: > A mass-cleanup by Javier Martinez Canillas removed a lot of > unused code, but left at least two variables in mfd drivers > in place that are now causing warnings: > > drivers/mfd/rtsx_pcr.c: In function 'rtsx_pci_set_pull_ctl': > drivers/mfd/rtsx_pcr.c

Re: [PATCH] mfd: remove unused variables

2015-10-07 Thread Javier Martinez Canillas
Hello Arnd, On 10/07/2015 02:49 PM, Arnd Bergmann wrote: > A mass-cleanup by Javier Martinez Canillas removed a lot of > unused code, but left at least two variables in mfd drivers > in place that are now causing warnings: > > drivers/mfd/rtsx_pcr.c: In function 'rtsx_pci_set_pull_ctl': > drivers

[PATCH] mfd: remove unused variables

2015-10-07 Thread Arnd Bergmann
A mass-cleanup by Javier Martinez Canillas removed a lot of unused code, but left at least two variables in mfd drivers in place that are now causing warnings: drivers/mfd/rtsx_pcr.c: In function 'rtsx_pci_set_pull_ctl': drivers/mfd/rtsx_pcr.c:564:6: warning: unused variable 'err' [-Wunused-variab