Patchwork insane: remove unused variable

login
register
mail settings
Submitter Ross Burton
Date Feb. 14, 2013, 6:02 p.m.
Message ID <1360864922-24537-1-git-send-email-ross.burton@intel.com>
Download mbox | patch
Permalink /patch/44651/
State Accepted
Commit 1165a0b161ffc32258b0726e6ef3082d97dfb32a
Headers show

Comments

Ross Burton - Feb. 14, 2013, 6:02 p.m.
Signed-off-by: Ross Burton <ross.burton@intel.com>
---
 meta/classes/insane.bbclass |    1 -
 1 file changed, 1 deletion(-)

Patch

diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index d285e56..f52fcea 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -165,7 +165,6 @@  def package_qa_check_rpath(file,name, d, elf, messages):
         return
 
     bad_dirs = [d.getVar('TMPDIR', True) + "/work", d.getVar('STAGING_DIR_TARGET', True)]
-    bad_dir_test = d.getVar('TMPDIR', True)
 
     if not bad_dirs[0] in d.getVar('WORKDIR', True):
         bb.fatal("This class assumed that WORKDIR is ${TMPDIR}/work... Not doing any check")