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 <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
This commit is contained in:
Alexander Aring 2014-10-07 10:38:29 +02:00 committed by Marcel Holtmann
parent 7ad38b8fbf
commit 90566363b5
1 changed files with 1 additions and 1 deletions

View File

@ -904,7 +904,7 @@ static irqreturn_t at86rf230_isr(int irq, void *data)
u8 *buf = ctx->buf; u8 *buf = ctx->buf;
int rc; int rc;
disable_irq_nosync(lp->spi->irq); disable_irq_nosync(irq);
buf[0] = (RG_IRQ_STATUS & CMD_REG_MASK) | CMD_REG; buf[0] = (RG_IRQ_STATUS & CMD_REG_MASK) | CMD_REG;
ctx->trx.len = 2; ctx->trx.len = 2;