summaryrefslogtreecommitdiffstats
path: root/scripts/lib
diff options
context:
space:
mode:
authorKevin Hao <kexin.hao@windriver.com>2018-08-14 09:31:21 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-08-15 21:45:58 +0100
commitb5648a0319b08fe63642bbb545d2a7c57d7ad38f (patch)
tree364da0dda801b3843e71d31f31a8f3c5d884d4be /scripts/lib
parent0bccf1dab19a98a560523229abcac7c7204b915f (diff)
downloadpoky-b5648a0319b08fe63642bbb545d2a7c57d7ad38f.tar.gz
wic: Remove the unused variable Partition.sourceparams_dict
We choose to pass the source parameters to the source plugins' hooks via a local variable srcparams_dict. So the Partition.sourceparams_dict is not used by anyone and seems pretty confused. So drop it. (From OE-Core rev: d7130a7d0e61021f71fec1d7ae7d37ebb27f0e03) Signed-off-by: Kevin Hao <kexin.hao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib')
-rw-r--r--scripts/lib/wic/partition.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/scripts/lib/wic/partition.py b/scripts/lib/wic/partition.py
index c73af9d427..5054779b1b 100644
--- a/scripts/lib/wic/partition.py
+++ b/scripts/lib/wic/partition.py
@@ -66,7 +66,6 @@ class Partition():
66 66
67 self.lineno = lineno 67 self.lineno = lineno
68 self.source_file = "" 68 self.source_file = ""
69 self.sourceparams_dict = {}
70 69
71 def get_extra_block_count(self, current_blocks): 70 def get_extra_block_count(self, current_blocks):
72 """ 71 """