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.karo-electronics.de/?a=commitdiff_plain;h=6ff6280f4e88bf751e31641072d63f3c8b038208;p=linux-beck.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;