summaryrefslogtreecommitdiffstats
path: root/drivers/bus/moxtet.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/bus/moxtet.c')
-rw-r--r--drivers/bus/moxtet.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/bus/moxtet.c b/drivers/bus/moxtet.c
index 1ee4570e7e17..baccf7609357 100644
--- a/drivers/bus/moxtet.c
+++ b/drivers/bus/moxtet.c
@@ -819,7 +819,6 @@ static int moxtet_probe(struct spi_device *spi)
static int moxtet_remove(struct spi_device *spi)
{
struct moxtet *moxtet = spi_get_drvdata(spi);
- int dummy;
free_irq(moxtet->dev_irq, moxtet);
@@ -827,7 +826,7 @@ static int moxtet_remove(struct spi_device *spi)
moxtet_unregister_debugfs(moxtet);
- dummy = device_for_each_child(moxtet->dev, NULL, __unregister);
+ device_for_each_child(moxtet->dev, NULL, __unregister);
mutex_destroy(&moxtet->lock);