From: Alexander Aring Date: Tue, 7 Oct 2014 08:38:29 +0000 (+0200) Subject: at86rf230: squash unnecessary dereferencing X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=90566363b5f5e7660a2cfd9b8e70ccf51a1dbc44;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git at86rf230: squash unnecessary dereferencing This patch removes dereferencing irq number over spi struct. Instead we doing it directly over isr paramater. Signed-off-by: Alexander Aring Signed-off-by: Marcel Holtmann --- diff --git a/drivers/net/ieee802154/at86rf230.c b/drivers/net/ieee802154/at86rf230.c index b26135fd0a2d..09503fbd9953 100644 --- a/drivers/net/ieee802154/at86rf230.c +++ b/drivers/net/ieee802154/at86rf230.c @@ -904,7 +904,7 @@ static irqreturn_t at86rf230_isr(int irq, void *data) u8 *buf = ctx->buf; int rc; - disable_irq_nosync(lp->spi->irq); + disable_irq_nosync(irq); buf[0] = (RG_IRQ_STATUS & CMD_REG_MASK) | CMD_REG; ctx->trx.len = 2;