summaryrefslogtreecommitdiff
path: root/src/device/device_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/device/device_util.c')
-rw-r--r--src/device/device_util.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/device/device_util.c b/src/device/device_util.c
index c5e03f2079..b37d1d9bfc 100644
--- a/src/device/device_util.c
+++ b/src/device/device_util.c
@@ -405,11 +405,8 @@ struct resource *find_resource(const struct device *dev, unsigned int index)
/* See if there is a resource with the appropriate index. */
resource = probe_resource(dev, index);
- if (!resource) {
- printk(BIOS_EMERG, "%s missing resource: %02x\n",
- dev_path(dev), index);
- die("");
- }
+ if (!resource)
+ die("%s missing resource: %02x\n", dev_path(dev), index);
return resource;
}