Author: vmaffione
Date: Mon Feb 25 09:57:06 2019
New Revision: 344510
URL: https://svnweb.freebsd.org/changeset/base/344510

Log:
  netmap: remove redundant call to nm_set_native_flags()
  
  This redundant call was introduced by mistake in r343772.
  
  MFC after:    3 days
  Sponsored by: Sunny Valley Networks

Modified:
  head/sys/dev/netmap/if_vtnet_netmap.h

Modified: head/sys/dev/netmap/if_vtnet_netmap.h
==============================================================================
--- head/sys/dev/netmap/if_vtnet_netmap.h       Mon Feb 25 09:13:33 2019        
(r344509)
+++ head/sys/dev/netmap/if_vtnet_netmap.h       Mon Feb 25 09:57:06 2019        
(r344510)
@@ -132,7 +132,6 @@ vtnet_netmap_reg(struct netmap_adapter *na, int state)
 
        if (state) {
                netmap_krings_mode_commit(na, state);
-               nm_set_native_flags(na);
        } else {
                nm_clear_native_flags(na);
                netmap_krings_mode_commit(na, state);
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to