vr: Remove extra VR_ISR_RX_NOBUF test
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Fri, 22 Mar 2013 03:16:24 +0000 (11:16 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Fri, 22 Mar 2013 03:16:24 +0000 (11:16 +0800)
Pointed-out-by: swildner@
sys/dev/netif/vr/if_vr.c

index fbd45b4..e6dd4e5 100644 (file)
@@ -1217,7 +1217,7 @@ vr_intr(void *arg)
                        }
 
                if ((status & VR_ISR_RX_ERR) || (status & VR_ISR_RX_NOBUF) ||
-                   (status & VR_ISR_RX_NOBUF) || (status & VR_ISR_RX_OFLOW)) {
+                   (status & VR_ISR_RX_OFLOW)) {
                        if_printf(ifp, "receive error (%04x)", status);
                        if (status & VR_ISR_RX_NOBUF)
                                kprintf(" no buffers");