Skip to contentSkip to conversation

utils: Drop unused variable staging_install from oe_libinstall

PATCH New Richard Purdie 1 participant 1 message Sep 6, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 utils: Drop unused variable staging_install from oe_libinstall

Remove unused variable/code.

---
 meta/classes/utils.bbclass | 5 -----
 1 file changed, 5 deletions(-)
meta/classes/utils.bbclass +0 -5
index 072ea1f63c7..ab060195601 100644
@@ -30,7 +30,6 @@ oe_libinstall() {
 	silent=""
 	require_static=""
 	require_shared=""
-	staging_install=""
 	while [ "$#" -gt 0 ]; do
 		case "$1" in
 		-C)
@@ -62,10 +61,6 @@ oe_libinstall() {
 	if [ -z "$destpath" ]; then
 		bbfatal "oe_libinstall: no destination path specified"
 	fi
-	if echo "$destpath/" | egrep '^${STAGING_LIBDIR}/' >/dev/null
-	then
-		staging_install=1
-	fi
 
 	__runcmd () {
 		if [ -z "$silent" ]; then
Signature · 1 line
2.32.0