diff options
author | Nguyen Phan Quang Minh <minhnpq16@gmail.com> | 2018-03-30 12:17:23 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-04-23 10:49:14 +0200 |
commit | 1494cb32bc736989d968e8622a2a54674bbff863 (patch) | |
tree | c16f8ae5b9917d0d2bd1784928523839d733dac4 /drivers/staging/fsl-dpaa2/ethsw | |
parent | 3ba03cffc50e15fd2fd50b5274488b04f18cd33d (diff) |
staging: fsl-dpaa2/ethsw: Remove unused variable irq
Local variable irq is not used. Remove it.
Signed-off-by: Nguyen Phan Quang Minh<minhnpq16@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/fsl-dpaa2/ethsw')
-rw-r--r-- | drivers/staging/fsl-dpaa2/ethsw/ethsw.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/fsl-dpaa2/ethsw/ethsw.c b/drivers/staging/fsl-dpaa2/ethsw/ethsw.c index c723a04bc3d6..a698498b8537 100644 --- a/drivers/staging/fsl-dpaa2/ethsw/ethsw.c +++ b/drivers/staging/fsl-dpaa2/ethsw/ethsw.c @@ -616,10 +616,8 @@ static void ethsw_teardown_irqs(struct fsl_mc_device *sw_dev) { struct device *dev = &sw_dev->dev; struct ethsw_core *ethsw = dev_get_drvdata(dev); - struct fsl_mc_device_irq *irq; int err; - irq = sw_dev->irqs[DPSW_IRQ_INDEX_IF]; err = dpsw_set_irq_enable(ethsw->mc_io, 0, ethsw->dpsw_handle, DPSW_IRQ_INDEX_IF, 0); if (err) |