Commit 844f8dff authored by Wolfram Sang's avatar Wolfram Sang Committed by Wim Van Sebroeck
Browse files

watchdog: rti_wdt: don't print out if registering watchdog fails

parent 8904da69
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -336,10 +336,8 @@ static int rti_wdt_probe(struct platform_device *pdev)
	watchdog_init_timeout(wdd, heartbeat, dev);

	ret = watchdog_register_device(wdd);
	if (ret) {
		dev_err(dev, "cannot register watchdog device\n");
	if (ret)
		goto err_iomap;
	}

	if (last_ping)
		watchdog_set_last_hw_keepalive(wdd, last_ping);