Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b5d33d08 authored by Jeremy Fitzhardinge's avatar Jeremy Fitzhardinge Committed by Konrad Rzeszutek Wilk
Browse files

xen/xenbus: clean up noise in xenbus_probe_backend.c

parent a39bda27
Loading
Loading
Loading
Loading
+2 −7
Original line number Original line Diff line number Diff line
@@ -267,10 +267,8 @@ static int backend_probe_and_watch(struct notifier_block *notifier,
{
{
	/* Enumerate devices in xenstore and watch for changes. */
	/* Enumerate devices in xenstore and watch for changes. */
	xenbus_probe_devices(&xenbus_backend);
	xenbus_probe_devices(&xenbus_backend);
	printk(KERN_CRIT "%s devices probed ok\n", __func__);
	register_xenbus_watch(&be_watch);
	register_xenbus_watch(&be_watch);
	printk(KERN_CRIT "%s watch add ok ok\n", __func__);

	printk(KERN_CRIT "%s all done\n", __func__);
	return NOTIFY_DONE;
	return NOTIFY_DONE;
}
}


@@ -285,11 +283,8 @@ static int __init xenbus_probe_backend_init(void)


	/* Register ourselves with the kernel bus subsystem */
	/* Register ourselves with the kernel bus subsystem */
	err = bus_register(&xenbus_backend.bus);
	err = bus_register(&xenbus_backend.bus);
	if (err) {
	if (err)
		printk(KERN_CRIT "%s didn't register bus!\n", __func__);
		return err;
		return err;
	}
	printk(KERN_CRIT "%s bus registered ok\n", __func__);


	register_xenstore_notifier(&xenstore_notifier);
	register_xenstore_notifier(&xenstore_notifier);