summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-03-25 11:12:30 (GMT)
committerSamuel Ortiz <sameo@linux.intel.com>2011-03-26 23:09:47 (GMT)
commit9d8fd10aa5843e018d456644fc1a58896d8eeaf5 (patch)
treeb880900a68e564a2f248551d6f429e6af63581be /drivers
parent9eaee99e5a9cedcc4acb3b5507c0878352222bce (diff)
downloadlinux-9d8fd10aa5843e018d456644fc1a58896d8eeaf5.tar.xz
mfd: mx8925: Remove irq_desc leftovers
Remove unused code. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mfd/max8925-core.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mfd/max8925-core.c b/drivers/mfd/max8925-core.c
index 0e998dc..a92ea9b 100644
--- a/drivers/mfd/max8925-core.c
+++ b/drivers/mfd/max8925-core.c
@@ -517,7 +517,6 @@ static int max8925_irq_init(struct max8925_chip *chip, int irq,
struct max8925_platform_data *pdata)
{
unsigned long flags = IRQF_TRIGGER_FALLING | IRQF_ONESHOT;
- struct irq_desc *desc;
int i, ret;
int __irq;
@@ -544,7 +543,6 @@ static int max8925_irq_init(struct max8925_chip *chip, int irq,
mutex_init(&chip->irq_lock);
chip->core_irq = irq;
chip->irq_base = pdata->irq_base;
- desc = irq_to_desc(chip->core_irq);
/* register with genirq */
for (i = 0; i < ARRAY_SIZE(max8925_irqs); i++) {