From: Richard Purdie Date: Mon, 6 Sep 2021 08:55:16 +0000 (+0100) Subject: utils: Drop unused variable staging_install from oe_libinstall X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~6791 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76ade5a2a55eda2975dfa5d6a30ac4cb74421567;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git utils: Drop unused variable staging_install from oe_libinstall Remove unused variable/code. Signed-off-by: Richard Purdie --- diff --git a/meta/classes/utils.bbclass b/meta/classes/utils.bbclass index 072ea1f63c7..ab060195601 100644 --- a/meta/classes/utils.bbclass +++ b/meta/classes/utils.bbclass @@ -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