mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Luis Gonzalez Fernandez <luisgf@gmail.com>
To: sameo@linux.intel.com, linux-kernel@vger.kernel.org
Cc: Luis Gonzalez Fernandez <luisgf@gmail.com>
Subject: [PATCH 1/1] mfd: Remove unused variable 'desc'
Date: Wed,  5 Sep 2012 20:27:08 +0200	[thread overview]
Message-ID: <1346869628-21531-1-git-send-email-luisgf@gmail.com> (raw)

Remove unused variable 'desc' in da9052_device_init() function that
throws warnings during compilation.

./linux-3.6/drivers/mfd/da9052-core.c: In function ‘da9052_device_init’:
./linux-3.6/drivers/mfd/da9052-core.c:775:19: warning: unused variable ‘desc’ [-Wunused-variable]

Signed-off-by: Luis Gonzalez Fernandez <luisgf@gmail.com>
---
 drivers/mfd/da9052-core.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/mfd/da9052-core.c b/drivers/mfd/da9052-core.c
index 1f1313c..2544910 100644
--- a/drivers/mfd/da9052-core.c
+++ b/drivers/mfd/da9052-core.c
@@ -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);
-- 
1.7.9.5


                 reply	other threads:[~2012-09-05 18:27 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1346869628-21531-1-git-send-email-luisgf@gmail.com \
    --to=luisgf@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sameo@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®