ia64/xen-unstable

changeset 6257:6d8c80499148

Make probe less chatty.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
author cl349@firebug.cl.cam.ac.uk
date Thu Aug 18 18:56:47 2005 +0000 (2005-08-18)
parents 11f556cac45b
children a1a998b059b1
files linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c
line diff
     1.1 --- a/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c	Thu Aug 18 18:55:13 2005 +0000
     1.2 +++ b/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c	Thu Aug 18 18:56:47 2005 +0000
     1.3 @@ -307,8 +307,6 @@ static int xenbus_probe_node(struct xen_
     1.4  	
     1.5  	err = bus->get_bus_id(xendev->dev.bus_id, xendev->nodename);
     1.6  	if (err) {
     1.7 -		printk("XENBUS: Failed to get bus id for %s: error %i\n",
     1.8 -		       xendev->nodename, err);
     1.9  		kfree(xendev);
    1.10  		return err;
    1.11  	}
    1.12 @@ -454,16 +452,11 @@ static void dev_changed(const char *node
    1.13  	exists = xenbus_exists(node, "");
    1.14  	dev = xenbus_device_find(node, &bus->bus);
    1.15  
    1.16 -	printk("xenbus: device %s %s\n", node, dev ? "exists" : "new");
    1.17  	if (dev && !exists) {
    1.18 -		printk("xenbus: Unregistering device %s\n", node);
    1.19  		device_unregister(&dev->dev);
    1.20  	} else if (!dev && exists) {
    1.21 -		printk("xenbus: Adding device %s\n", node);
    1.22  		xenbus_probe_node(bus, type, node);
    1.23 -	} else
    1.24 -		printk("xenbus: strange, %s already %s\n", node,
    1.25 -		       exists ? "exists" : "gone");
    1.26 +	}
    1.27  	if (dev)
    1.28  		put_device(&dev->dev);
    1.29  }