]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
mfd: Remove unused variable from da9052_device_init
authorKrzysztof Wilczynski <krzysztof.wilczynski@linux.com>
Fri, 29 Jun 2012 11:14:15 +0000 (13:14 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 8 Jul 2012 22:16:07 +0000 (00:16 +0200)
This is to address the following warning during compilation time:

  drivers/mfd/da9052-core.c: In function ‘da9052_device_init’:
  drivers/mfd/da9052-core.c:646: warning: unused variable ‘desc’

This variable is indeed no longer in use (change can be traced back
to commit: 8614419451d88bf99fff7f5e468fe45f8450891e).

Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/da9052-core.c

index 1f1313c905736f352d09c8f8d764be2464467cc5..2544910e1fd604f5f6184009a1a208fa5f838cf2 100644 (file)
@@ -772,7 +772,6 @@ EXPORT_SYMBOL_GPL(da9052_regmap_config);
 int __devinit da9052_device_init(struct da9052 *da9052, u8 chip_id)
 {
        struct da9052_pdata *pdata = da9052->dev->platform_data;
-       struct irq_desc *desc;
        int ret;
 
        mutex_init(&da9052->auxadc_lock);