Skip to content

Commit

Permalink
netmap_attach_common: don't reset virt_hdr_len
Browse files Browse the repository at this point in the history
This field may have been set previously, and the zeroing is not
necessary, in any case.
  • Loading branch information
vmaffione committed Feb 11, 2016
1 parent 3e974e8 commit 9c41403
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion sys/dev/netmap/netmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -2712,7 +2712,6 @@ netmap_attach_common(struct netmap_adapter *na)
*/
na->nm_bdg_attach = netmap_bwrap_attach;
#endif
na->virt_hdr_len = 0;

return 0;
}
Expand Down

0 comments on commit 9c41403

Please sign in to comment.