return EFI_ALREADY_STARTED;\r
}\r
\r
-#if !SUPPORT_IPV6\r
//\r
// Fail if IPv6 is requested and not supported.\r
//\r
EfiReleaseLock (&Private->Lock);\r
return EFI_UNSUPPORTED;\r
}\r
-#endif\r
//\r
// Setup shortcuts to SNP protocol and data structure.\r
//\r
if (EFI_ERROR (Status)) {\r
goto PxeBcError;\r
}\r
- \r
+\r
//\r
// Get the Snp interface\r
//\r
// implementation supports IPv6.\r
//\r
Private->EfiBc.Mode->Ipv6Supported = SUPPORT_IPV6;\r
-\r
-#if SUPPORT_IPV6\r
- Private->EfiBc.Mode->Ipv6Available = Private->NiiPtr->Ipv6Supported;\r
-#else\r
Private->EfiBc.Mode->Ipv6Available = FALSE;\r
-#endif\r
+\r
//\r
// Set to TRUE by the BC constructor if this BC\r
// implementation supports BIS.\r