From: Mark Einon Date: Thu, 5 Dec 2013 22:55:49 +0000 (+0000) Subject: staging: et131x: replace magic number bitmask with defined values X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6ff6280f4e88bf751e31641072d63f3c8b038208;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git staging: et131x: replace magic number bitmask with defined values Signed-off-by: Mark Einon Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/et131x/et131x.c b/drivers/staging/et131x/et131x.c index 4d76d79f4477..2f3c84a659dd 100644 --- a/drivers/staging/et131x/et131x.c +++ b/drivers/staging/et131x/et131x.c @@ -4122,7 +4122,7 @@ static void et131x_isr_handler(struct work_struct *work) if (status & ET_INTR_RXDMA_XFR_DONE) et131x_handle_recv_interrupt(adapter); - status &= 0xffffffd7; + status &= ~(ET_INTR_TXDMA_ERR | ET_INTR_RXDMA_XFR_DONE); if (!status) goto out;