diff options
author | Jack F Vogel <jfv@FreeBSD.org> | 2010-11-27 18:18:09 +0000 |
---|---|---|
committer | Jack F Vogel <jfv@FreeBSD.org> | 2010-11-27 18:18:09 +0000 |
commit | 553ab7d8128589e873616aa151a07deee9c9f024 (patch) | |
tree | 80c5cb62700a050993858f1e1e720563bb8c0fb9 /sys | |
parent | 2cc6890dbc74a5e343a3734532aa1feafd535aee (diff) |
Notes
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/e1000/if_em.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/e1000/if_em.c b/sys/dev/e1000/if_em.c index 23c0b33386850..c1910fa5a4d22 100644 --- a/sys/dev/e1000/if_em.c +++ b/sys/dev/e1000/if_em.c @@ -1270,7 +1270,7 @@ em_init(void *arg) * Legacy polling routine: note this only works with single queue * *********************************************************************/ -static int +static void em_poll(struct ifnet *ifp, enum poll_cmd cmd, int count) { struct adapter *adapter = ifp->if_softc; @@ -1282,7 +1282,7 @@ em_poll(struct ifnet *ifp, enum poll_cmd cmd, int count) EM_CORE_LOCK(adapter); if ((ifp->if_drv_flags & IFF_DRV_RUNNING) == 0) { EM_CORE_UNLOCK(adapter); - return (0); + return; } if (cmd == POLL_AND_CHECK_STATUS) { @@ -1305,7 +1305,7 @@ em_poll(struct ifnet *ifp, enum poll_cmd cmd, int count) em_start_locked(ifp, txr); EM_TX_UNLOCK(txr); - return (rx_done); + return; } #endif /* DEVICE_POLLING */ |