We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e49b1e8 commit 9de2f4aCopy full SHA for 9de2f4a
scripts/decode-syseeprom
@@ -228,8 +228,6 @@ def main():
228
229
(opts, args) = get_cmdline_opts()
230
231
- use_db = opts.db and support_eeprom_db
232
-
233
# Get platform name
234
platform = device_info.get_platform()
235
@@ -238,6 +236,8 @@ def main():
238
236
if any(re.match(p, platform) for p in platforms_without_eeprom_db):
239
237
support_eeprom_db = False
240
+ use_db = opts.db and support_eeprom_db
+
241
if opts.mgmtmac:
242
print_mgmt_mac(use_db)
243
elif opts.serial:
0 commit comments