]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: et131x: replace magic number bitmask with defined values
authorMark Einon <mark.einon@gmail.com>
Thu, 5 Dec 2013 22:55:49 +0000 (22:55 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Dec 2013 20:55:48 +0000 (12:55 -0800)
Signed-off-by: Mark Einon <mark.einon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/et131x/et131x.c

index 4d76d79f4477bc522e7123e3ff7527a071ac1e56..2f3c84a659dd89db9c78aabdd5e987949dc276dc 100644 (file)
@@ -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;