mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
Our die() implementation already consists of an endless loop, so this
is dead code. Also, it makes writing unit-tests for these functions harder. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@303 f3766cd6-281f-0410-b1cd-43a5c92072e9
This commit is contained in:
parent
c8e549a3ff
commit
9cfbe8222b
2 changed files with 0 additions and 2 deletions
|
@ -42,7 +42,6 @@ static struct bus *get_pbus(struct device *dev)
|
|||
printk(BIOS_ALERT, "%s: %s(%s) Cannot find PCI bus operations",
|
||||
__func__, dev->dtsname, dev_path(dev));
|
||||
die("");
|
||||
for (;;) ;
|
||||
}
|
||||
return pbus;
|
||||
}
|
||||
|
|
|
@ -36,7 +36,6 @@ struct bus *get_pbus_smbus(device_t dev)
|
|||
printk_alert("%s Cannot find smbus bus operations",
|
||||
dev_path(dev));
|
||||
die("");
|
||||
for (;;) ;
|
||||
}
|
||||
return pbus;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue