hw/i386/ich9: Remove redundant GSI_NUM_PINS
authorBernhard Beschow <shentey@gmail.com>
Mon, 13 Feb 2023 17:30:30 +0000 (18:30 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 27 Feb 2023 21:29:01 +0000 (22:29 +0100)
commite3e3a8ad1216faccd737f6bc06919deb366b0be3
tree9437b5e3b1469442e0df33f619baeb2ba52afb75
parentfb1856cb9b7cd81f45e1ee6ce079a4eea59314aa
hw/i386/ich9: Remove redundant GSI_NUM_PINS

Most code uses IOAPIC_NUM_PINS. The only place where GSI_NUM_PINS defines
the size of an array is ICH9LPCState::gsi which needs to match
IOAPIC_NUM_PINS. Remove GSI_NUM_PINS for consistency.

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230213173033.98762-10-shentey@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
hw/i386/pc.c
hw/i386/pc_q35.c
hw/isa/lpc_ich9.c
include/hw/i386/ich9.h
include/hw/i386/x86.h