]> code.ossystems Code Review - openembedded-core.git/commitdiff
classes/sstate: Remove unused argument
authorJoshua Watt <jpewhacker@gmail.com>
Fri, 6 Jul 2018 15:40:18 +0000 (10:40 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 6 Jul 2018 21:59:28 +0000 (22:59 +0100)
Removes an unused argument to pstaging_fetch()

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/sstate.bbclass

index a78d07c41d3b3002c701adccc3f6b2d478f4fd1a..5a0722567a568d4730dbfe4a5483c00934a63a00 100644 (file)
@@ -300,7 +300,7 @@ def sstate_installpkg(ss, d):
     sstatepkg = d.getVar('SSTATE_PKG') + '_' + ss['task'] + ".tgz"
 
     if not os.path.exists(sstatepkg):
-        pstaging_fetch(sstatefetch, sstatepkg, d)
+        pstaging_fetch(sstatefetch, d)
 
     if not os.path.isfile(sstatepkg):
         bb.note("Staging package %s does not exist" % sstatepkg)
@@ -635,7 +635,7 @@ def sstate_package(ss, d):
 
     return
 
-def pstaging_fetch(sstatefetch, sstatepkg, d):
+def pstaging_fetch(sstatefetch, d):
     import bb.fetch2
 
     # Only try and fetch if the user has configured a mirror