• M
    serial: Factor out common serial_hds_isa_init() · b6607a1a
    Markus Armbruster 提交于
    It's the same old loop copied five times, plus another instance where
    it's clipped to two iterations and unrolled.
    
    No external users of serial_isa_init() are left, so give it internal
    linkage.
    
    Maintainers of affected machines cc'ed.
    
    Cc: Richard Henderson <rth@twiddle.net>
    Cc: Anthony Liguori <aliguori@amazon.com>
    Cc: "Michael S. Tsirkin" <mst@redhat.com>
    Cc: Aurelien Jarno <aurelien@aurel32.net>
    Cc: Leon Alrae <leon.alrae@imgtec.com>
    Cc: Blue Swirl <blauwirbel@gmail.com>
    Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
    Signed-off-by: NAndreas Färber <afaerber@suse.de>
    b6607a1a
serial.h 3.3 KB