Merge tag 'block-5.14-2021-08-13' of git://git.kernel.dk/linux-block
[linux-2.6-microblaze.git] / drivers / base / power / wakeup_stats.c
index 5ade753..924fac4 100644 (file)
@@ -137,7 +137,7 @@ static struct device *wakeup_source_device_create(struct device *parent,
                                                  struct wakeup_source *ws)
 {
        struct device *dev = NULL;
-       int retval = -ENODEV;
+       int retval;
 
        dev = kzalloc(sizeof(*dev), GFP_KERNEL);
        if (!dev) {