smc37c669: remove useless is_enabled functions
commit2fdc20f9d47f8bcfb9ba54a70a49a9da72901b00
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 29 Jan 2024 13:33:54 +0000 (29 14:33 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 16 Feb 2024 12:56:08 +0000 (16 13:56 +0100)
tree9eee1d3350c28bb34f56634b78ccdbd0a4c191d8
parent41514c0a77346da43994bc98f43c34f95cf2e0d3
smc37c669: remove useless is_enabled functions

Calls to is_enabled are bounded to indices that actually exist in
the SuperIO device.  Therefore, the is_enabled functions in
smc37c669 are not doing anything and they can be removed.

Reviewed-by: Bernhard Beschow <shentey@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/isa/smc37c669-superio.c