Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 90566363 authored by Alexander Aring's avatar Alexander Aring Committed by Marcel Holtmann
Browse files

at86rf230: squash unnecessary dereferencing



This patch removes dereferencing irq number over spi struct. Instead we
doing it directly over isr paramater.

Signed-off-by: default avatarAlexander Aring <alex.aring@gmail.com>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent 7ad38b8f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;