Merge tag 'irqchip-fixes-5.3' of git://git.kernel.org/pub/scm/linux/kernel/git/maz...
[linux-2.6-microblaze.git] / drivers / watchdog / i6300esb.c
index f98f35a..a30835f 100644 (file)
@@ -315,11 +315,8 @@ static int esb_probe(struct pci_dev *pdev,
 
        /* Register the watchdog so that userspace has access to it */
        ret = watchdog_register_device(&edev->wdd);
-       if (ret != 0) {
-               dev_err(&pdev->dev,
-                       "cannot register watchdog device (err=%d)\n", ret);
+       if (ret != 0)
                goto err_unmap;
-       }
        dev_info(&pdev->dev,
                "initialized. heartbeat=%d sec (nowayout=%d)\n",
                edev->wdd.timeout, nowayout);