diff options
author | Maxime Roussin-Bélanger <maxime.roussinbelanger@gmail.com> | 2020-10-27 00:36:40 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-10-30 13:26:16 +0000 |
commit | 31405f086e5590889f45ccac971fc9462c805380 (patch) | |
tree | ea6d8c543c92593ba366afe7058eafc2102adfc4 /bitbake | |
parent | 3ef540749ed0890fbfe174bd4bce044d0e354604 (diff) | |
download | poky-31405f086e5590889f45ccac971fc9462c805380.tar.gz |
bitbake: monitordisk: remove unused function parameter
(Bitbake rev: f3f5d6d0ceae79da5e5ee46ac79dfa86eb391e97)
Signed-off-by: Maxime Roussin-Bélanger <maxime.roussinbelanger@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/monitordisk.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/monitordisk.py b/bitbake/lib/bb/monitordisk.py index e7c07264a8..98f2109ed2 100644 --- a/bitbake/lib/bb/monitordisk.py +++ b/bitbake/lib/bb/monitordisk.py | |||
@@ -59,7 +59,7 @@ def getMountedDev(path): | |||
59 | pass | 59 | pass |
60 | return None | 60 | return None |
61 | 61 | ||
62 | def getDiskData(BBDirs, configuration): | 62 | def getDiskData(BBDirs): |
63 | 63 | ||
64 | """Prepare disk data for disk space monitor""" | 64 | """Prepare disk data for disk space monitor""" |
65 | 65 | ||
@@ -168,7 +168,7 @@ class diskMonitor: | |||
168 | 168 | ||
169 | BBDirs = configuration.getVar("BB_DISKMON_DIRS") or None | 169 | BBDirs = configuration.getVar("BB_DISKMON_DIRS") or None |
170 | if BBDirs: | 170 | if BBDirs: |
171 | self.devDict = getDiskData(BBDirs, configuration) | 171 | self.devDict = getDiskData(BBDirs) |
172 | if self.devDict: | 172 | if self.devDict: |
173 | self.spaceInterval, self.inodeInterval = getInterval(configuration) | 173 | self.spaceInterval, self.inodeInterval = getInterval(configuration) |
174 | if self.spaceInterval and self.inodeInterval: | 174 | if self.spaceInterval and self.inodeInterval: |