facts: remove duplicate device vendor and model assignment (#39419)

Signed-off-by: Alfredo Deza <adeza@redhat.com>
pull/40641/head
Alfredo Deza 7 years ago committed by Adam Miller
parent 8d1f2ba9d9
commit 2d0891e089

@ -602,9 +602,6 @@ class LinuxHardware(Hardware):
if serial:
d['serial'] = serial.group(1)
for key in ['vendor', 'model']:
d[key] = get_file_content(sysdir + "/device/" + key)
for key, test in [('removable', '/removable'),
('support_discard', '/queue/discard_granularity'),
]:

Loading…
Cancel
Save