staging: et131x: replace magic number bitmask with defined values
Signed-off-by: Mark Einon <mark.einon@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
76af0140c0
commit
6ff6280f4e
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue