Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci Remove extra if_start() in wm_ioctl().



details:   https://anonhg.NetBSD.org/src/rev/09dd130a2add
branches:  trunk
changeset: 338823:09dd130a2add
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Wed Jun 10 12:14:59 2015 +0000

description:
Remove extra if_start() in wm_ioctl().

diffstat:

 sys/dev/pci/if_wm.c |  7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diffs (28 lines):

diff -r 09897a44c419 -r 09dd130a2add sys/dev/pci/if_wm.c
--- a/sys/dev/pci/if_wm.c       Wed Jun 10 05:03:59 2015 +0000
+++ b/sys/dev/pci/if_wm.c       Wed Jun 10 12:14:59 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_wm.c,v 1.332 2015/06/08 03:45:19 msaitoh Exp $      */
+/*     $NetBSD: if_wm.c,v 1.333 2015/06/10 12:14:59 msaitoh Exp $      */
 
 /*
  * Copyright (c) 2001, 2002, 2003, 2004 Wasabi Systems, Inc.
@@ -81,7 +81,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.332 2015/06/08 03:45:19 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.333 2015/06/10 12:14:59 msaitoh Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_net_mpsafe.h"
@@ -2849,9 +2849,6 @@
                break;
        }
 
-       /* Try to get more packets going. */
-       ifp->if_start(ifp);
-
 #ifndef WM_MPSAFE
        splx(s);
 #endif



Home | Main Index | Thread Index | Old Index