]> git.proxmox.com Git - mirror_edk2.git/blobdiff - NetworkPkg/HttpDxe/HttpDriver.c
NetworkPkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / NetworkPkg / HttpDxe / HttpDriver.c
index 8df984db418acc3f2f2e902541536f67027b7d8b..7c64d421511977c24c6b143d74cc2dbcde3ffefb 100644 (file)
@@ -4,13 +4,7 @@
   Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.<BR>\r
   (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>\r
 \r
-  This program and the accompanying materials\r
-  are licensed and made available under the terms and conditions of the BSD License\r
-  which accompanies this distribution.  The full text of the license may be found at\r
-  http://opensource.org/licenses/bsd-license.php.\r
-\r
-  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+  SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
 \r
@@ -230,16 +224,11 @@ HttpDxeDriverEntryPoint (
              &gHttpDxeComponentName2\r
              );\r
   if (EFI_ERROR (Status)) {\r
-    gBS->UninstallMultipleProtocolInterfaces (\r
-           ImageHandle,\r
-           &gEfiDriverBindingProtocolGuid,\r
-           &gHttpDxeIp4DriverBinding,\r
-           &gEfiComponentName2ProtocolGuid,\r
-           &gHttpDxeComponentName2,\r
-           &gEfiComponentNameProtocolGuid,\r
-           &gHttpDxeComponentName,\r
-           NULL\r
-           );\r
+    EfiLibUninstallDriverBindingComponentName2 (\r
+      &gHttpDxeIp4DriverBinding,\r
+      &gHttpDxeComponentName,\r
+      &gHttpDxeComponentName2\r
+      );\r
   }\r
   return Status;\r
 }\r