]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
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>
Wed, 19 Oct 2011 16:54:04 +0000 (12:54 -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 739769551e33b98e983b2a76369051b9e2915557..3b53452cba159bff3cba687389f30235bff8488c 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;
 };
@@ -651,7 +650,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)
@@ -774,7 +773,7 @@ static int __init xenbus_init(void)
 
        return 0;
 
-  out_error:
+out_error:
        if (page != 0)
                free_page(page);