diff options
-rw-r--r-- | drivers/mfd/syscon.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mfd/syscon.c b/drivers/mfd/syscon.c index cf1d2dfd58..487fa9ee0a 100644 --- a/drivers/mfd/syscon.c +++ b/drivers/mfd/syscon.c @@ -116,8 +116,6 @@ static int syscon_probe(struct device_d *dev) struct resource *res; syscon = xzalloc(sizeof(struct syscon)); - if (!syscon) - return -ENOMEM; res = dev_get_resource(dev, IORESOURCE_MEM, 0); if (IS_ERR(res)) { |