Remove the conditional define around the option headers,

when building the driver as a module the result of the present
system results in INET and INET6 being undefined, and will cause
the panic in ixgbe_tso_setup(). The Makefile in the module directory
now renders the conditional in the source unnecessary and wrong.

MFC after: ASAP - the panic as a module must not get into 9.2
This commit is contained in:
Jack F Vogel 2013-07-12 21:14:42 +00:00
parent f122b319eb
commit ee738eea01

View File

@ -33,11 +33,8 @@
/*$FreeBSD$*/
#ifdef HAVE_KERNEL_OPTION_HEADERS
#include "opt_inet.h"
#include "opt_inet6.h"
#endif
#include "ixgbe.h"
/*********************************************************************