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
This commit is contained in:
Vincenzo Maffione 2019-02-25 09:57:06 +00:00
parent 3ea8b6b327
commit 352a2062c9

View File

@ -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);