guest: Remove bogus conditional

This incorrectly always evaluates to True. But no one ever complained
so let's keep that behavior the same

Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
Cole Robinson 2020-01-27 11:44:19 -05:00
parent 6d2483f09d
commit fd71d7fea5
1 changed files with 0 additions and 3 deletions

View File

@ -1029,9 +1029,6 @@ class Guest(XMLBuilder):
return return
if not self.os.is_hvm(): if not self.os.is_hvm():
return return
if not (self.os.is_x86() or
self.os.is_arm_machvirt):
return
dev = DeviceSound(self.conn) dev = DeviceSound(self.conn)
dev.set_defaults(self) dev.set_defaults(self)