Xen: fix braces and tabs coding style issue in xenbus_probe.c
authorRuslan Pisarev <ruslan@rpisarev.org.ua>
Tue, 26 Jul 2011 11:17:23 +0000 (14:17 +0300)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tue, 26 Jul 2011 17:32:06 +0000 (13:32 -0400)
This is a patch to the xenbus_probe.c file that fixed up braces and tabs errors found by the checkpatch.pl tools.

Signed-off-by: Ruslan Pisarev <ruslan@rpisarev.org.ua>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/xen/xenbus/xenbus_probe.c

index bd2f90c..d4c7a9f 100644 (file)
@@ -309,8 +309,7 @@ void xenbus_unregister_driver(struct xenbus_driver *drv)
 }
 EXPORT_SYMBOL_GPL(xenbus_unregister_driver);
 
-struct xb_find_info
-{
+struct xb_find_info {
        struct xenbus_device *dev;
        const char *nodename;
 };
@@ -639,7 +638,7 @@ int xenbus_dev_cancel(struct device *dev)
 EXPORT_SYMBOL_GPL(xenbus_dev_cancel);
 
 /* A flag to determine if xenstored is 'ready' (i.e. has started) */
-int xenstored_ready = 0;
+int xenstored_ready;
 
 
 int register_xenstore_notifier(struct notifier_block *nb)
@@ -762,7 +761,7 @@ static int __init xenbus_init(void)
 
        return 0;
 
-  out_error:
+out_error:
        if (page != 0)
                free_page(page);