summaryrefslogtreecommitdiff
path: root/sys/dev/usb/if_athn_usb.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/if_athn_usb.c')
-rw-r--r--sys/dev/usb/if_athn_usb.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/usb/if_athn_usb.c b/sys/dev/usb/if_athn_usb.c
index 987095a7017..0cb8a06ee05 100644
--- a/sys/dev/usb/if_athn_usb.c
+++ b/sys/dev/usb/if_athn_usb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_athn_usb.c,v 1.42 2015/12/11 16:07:02 mpi Exp $ */
+/* $OpenBSD: if_athn_usb.c,v 1.43 2016/11/29 10:22:30 jsg Exp $ */
/*-
* Copyright (c) 2011 Damien Bergamini <damien.bergamini@free.fr>
@@ -2397,8 +2397,7 @@ athn_usb_stop(struct ifnet *ifp)
splx(s);
/* Flush Rx stream. */
- if (usc->rx_stream.m != NULL)
- m_freem(usc->rx_stream.m);
+ m_freem(usc->rx_stream.m);
usc->rx_stream.m = NULL;
usc->rx_stream.left = 0;
}