Snap for 7483611 from 0c94c3ec6cdcd62683436ffff016d9bfa114179b to mainline-adbd-release

Change-Id: I8e16334ff0b2bdecf841cb4632ad1b131f135fae
diff --git a/core/Makefile b/core/Makefile
index 3b14386..28edc87 100644
--- a/core/Makefile
+++ b/core/Makefile
@@ -1117,11 +1117,6 @@
 endif
 
 ifdef INTERNAL_BOOTCONFIG
-  ifneq (,$(findstring androidboot.hardware=, $(INTERNAL_BOOTCONFIG)))
-    $(error "androidboot.hardware" BOOTCONFIG parameter is not supported due \
-      to bootconfig limitations. Use "hardware" instead. INTERNAL_BOOTCONFIG: \
-      $(INTERNAL_BOOTCONFIG))
-  endif
   INTERNAL_VENDOR_BOOTCONFIG_TARGET := $(PRODUCT_OUT)/vendor-bootconfig.img
   $(INTERNAL_VENDOR_BOOTCONFIG_TARGET):
 	rm -f $@