Simplify using the is_apple() macro.
Signed-off-by: Philippe Mathieu-Daudé f4bug@amsat.org --- drivers/pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/pci.c b/drivers/pci.c index b05ca3b..a2774d2 100644 --- a/drivers/pci.c +++ b/drivers/pci.c @@ -1991,7 +1991,7 @@ static void ob_pci_host_bus_interrupt(ucell dnode, u32 *props, int *ncells, u32 { *ncells += pci_encode_phys_addr(props + *ncells, 0, 0, addr, 0, 0);
- if (is_oldworld() || is_newworld()) { + if (is_apple()) { /* Mac machines */ props[(*ncells)++] = intno; props[(*ncells)++] = dnode;