Skip to content

Commit

Permalink
xen/xenbus: clean up noise in xenbus_probe_frontend.c
Browse files Browse the repository at this point in the history
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
[corresponds to 616ff7a06a3f in git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git]
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
  • Loading branch information
Jeremy Fitzhardinge authored and Konrad Rzeszutek Wilk committed Jan 5, 2011
1 parent b5d33d0 commit 0ff4fdf
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions drivers/xen/xenbus/xenbus_probe_frontend.c
Original file line number Diff line number Diff line change
Expand Up @@ -249,10 +249,8 @@ static int frontend_probe_and_watch(struct notifier_block *notifier,
{
/* Enumerate devices in xenstore and watch for changes. */
xenbus_probe_devices(&xenbus_frontend);
printk(KERN_CRIT "%s devices probed ok\n", __func__);
register_xenbus_watch(&fe_watch);
printk(KERN_CRIT "%s watch add ok ok\n", __func__);
printk(KERN_CRIT "%s all done\n", __func__);

return NOTIFY_DONE;
}

Expand All @@ -268,11 +266,8 @@ static int __init xenbus_probe_frontend_init(void)

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

register_xenstore_notifier(&xenstore_notifier);

Expand Down

0 comments on commit 0ff4fdf

Please sign in to comment.