diff options
-rw-r--r-- | drivers/soc/fsl/dpio/dpio-driver.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/soc/fsl/dpio/dpio-driver.c b/drivers/soc/fsl/dpio/dpio-driver.c index b60b77bfaffa..e58fcc9096e8 100644 --- a/drivers/soc/fsl/dpio/dpio-driver.c +++ b/drivers/soc/fsl/dpio/dpio-driver.c | |||
@@ -50,13 +50,10 @@ static void unregister_dpio_irq_handlers(struct fsl_mc_device *dpio_dev) | |||
50 | 50 | ||
51 | static int register_dpio_irq_handlers(struct fsl_mc_device *dpio_dev, int cpu) | 51 | static int register_dpio_irq_handlers(struct fsl_mc_device *dpio_dev, int cpu) |
52 | { | 52 | { |
53 | struct dpio_priv *priv; | ||
54 | int error; | 53 | int error; |
55 | struct fsl_mc_device_irq *irq; | 54 | struct fsl_mc_device_irq *irq; |
56 | cpumask_t mask; | 55 | cpumask_t mask; |
57 | 56 | ||
58 | priv = dev_get_drvdata(&dpio_dev->dev); | ||
59 | |||
60 | irq = dpio_dev->irqs[0]; | 57 | irq = dpio_dev->irqs[0]; |
61 | error = devm_request_irq(&dpio_dev->dev, | 58 | error = devm_request_irq(&dpio_dev->dev, |
62 | irq->msi_desc->irq, | 59 | irq->msi_desc->irq, |