staging: greybus: Remove parentheses around variable
authorNishka Dasgupta <nishka.dasgupta@yahoo.com>
Tue, 19 Mar 2019 20:03:08 +0000 (01:33 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Mar 2019 06:50:34 +0000 (07:50 +0100)
Remove parentheses around variable.

Signed-off-by: Nishka Dasgupta <nishka.dasgupta@yahoo.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/greybus/bundle.c

index 376ca53..3f702db 100644 (file)
@@ -32,7 +32,7 @@ static ssize_t state_show(struct device *dev, struct device_attribute *attr,
 {
        struct gb_bundle *bundle = to_gb_bundle(dev);
 
-       if (!(bundle->state))
+       if (!bundle->state)
                return sprintf(buf, "\n");
 
        return sprintf(buf, "%s\n", bundle->state);