meta-google: treewide: Remove source / exec protection

shellcheck doesn't like these protections and it makes fixes convoluted.
We never had an issue with users misusing these scripts and so they add
no benefit.

Change-Id: I326d6046e2e42f8446e23d6bf891aafa2595ca90
Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/meta-google/recipes-google/gpio/gpio-ctrl/lib.sh b/meta-google/recipes-google/gpio/gpio-ctrl/lib.sh
index a75c413..13c624b 100644
--- a/meta-google/recipes-google/gpio/gpio-ctrl/lib.sh
+++ b/meta-google/recipes-google/gpio/gpio-ctrl/lib.sh
@@ -245,6 +245,3 @@
 }
 
 gpio_ctrl_init=1
-return 0 2>/dev/null
-echo "gpio-ctrl is a library, not executed directly" >&2
-exit 1
diff --git a/meta-google/recipes-google/host-power-ctrl/gpio-host-pwr/lib.sh b/meta-google/recipes-google/host-power-ctrl/gpio-host-pwr/lib.sh
index 16b36a5..d523c5d 100644
--- a/meta-google/recipes-google/host-power-ctrl/gpio-host-pwr/lib.sh
+++ b/meta-google/recipes-google/host-power-ctrl/gpio-host-pwr/lib.sh
@@ -64,6 +64,3 @@
 }
 
 host_pwr_init=1
-return 0 2>/dev/null
-echo "gpio-host-pwr is a library, not executed directly" >&2
-exit 1
diff --git a/meta-google/recipes-google/ipmi/ipmi-fru-sh/lib.sh b/meta-google/recipes-google/ipmi/ipmi-fru-sh/lib.sh
index abfffd4..befc375 100644
--- a/meta-google/recipes-google/ipmi/ipmi-fru-sh/lib.sh
+++ b/meta-google/recipes-google/ipmi/ipmi-fru-sh/lib.sh
@@ -228,6 +228,3 @@
 }
 
 ipmi_fru_init=1
-return 0 2>/dev/null
-echo "ipmi-fru is a library, not executed directly" >&2
-exit 1
diff --git a/meta-google/recipes-google/networking/gbmc-bridge/gbmc-br-lib.sh b/meta-google/recipes-google/networking/gbmc-bridge/gbmc-br-lib.sh
index eca1eec..1b31ef9 100644
--- a/meta-google/recipes-google/networking/gbmc-bridge/gbmc-br-lib.sh
+++ b/meta-google/recipes-google/networking/gbmc-bridge/gbmc-br-lib.sh
@@ -131,7 +131,3 @@
 }
 
 gbmc_br_lib_init=1
-if ! (return 0 2>/dev/null); then
-  echo "gbmc-br-lib is a library, not executed directly" >&2
-  exit 1
-fi
diff --git a/meta-google/recipes-google/networking/network-sh/lib.sh b/meta-google/recipes-google/networking/network-sh/lib.sh
index 1d217c2..ebd74c5 100644
--- a/meta-google/recipes-google/networking/network-sh/lib.sh
+++ b/meta-google/recipes-google/networking/network-sh/lib.sh
@@ -289,7 +289,3 @@
 }
 
 network_init=1
-if ! (return 0 2>/dev/null); then
-  echo "network is a library, not executed directly" >&2
-  exit 1
-fi
diff --git a/meta-google/recipes-google/networking/network-sh/test.sh b/meta-google/recipes-google/networking/network-sh/test.sh
index 9596eef..409514f 100755
--- a/meta-google/recipes-google/networking/network-sh/test.sh
+++ b/meta-google/recipes-google/networking/network-sh/test.sh
@@ -197,5 +197,4 @@
   expect_streq "$ip" 'fd01:1::1'
 }
 
-return 0 2>/dev/null
 main