summaryrefslogtreecommitdiff
path: root/src/device/smbus_ops.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/device/smbus_ops.c')
-rw-r--r--src/device/smbus_ops.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/device/smbus_ops.c b/src/device/smbus_ops.c
index 12aaf998c9..d08965c7e0 100644
--- a/src/device/smbus_ops.c
+++ b/src/device/smbus_ops.c
@@ -8,11 +8,8 @@
struct bus *get_pbus_smbus(struct device *dev)
{
struct bus *const pbus = i2c_link(dev);
- if (!pbus->dev->ops->ops_smbus_bus) {
- printk(BIOS_ALERT, "%s Cannot find SMBus bus operations",
- dev_path(dev));
- die("");
- }
+ if (!pbus->dev->ops->ops_smbus_bus)
+ die("%s Cannot find SMBus bus operations", dev_path(dev));
return pbus;
}