summaryrefslogtreecommitdiff
path: root/drivers/staging/greybus
diff options
context:
space:
mode:
authorNishka Dasgupta <nishka.dasgupta@yahoo.com>2019-03-20 01:33:08 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-03-20 07:50:34 +0100
commit180a41bfbfe04af93a1e2945bf723d161820cf4f (patch)
treedd32084ab74ee38c6acb83b35280297d5824ae98 /drivers/staging/greybus
parent447a3621b3835b6478226f62bb9c61ac57488958 (diff)
staging: greybus: Remove parentheses around variable
Remove parentheses around variable. Signed-off-by: Nishka Dasgupta <nishka.dasgupta@yahoo.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/greybus')
-rw-r--r--drivers/staging/greybus/bundle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/greybus/bundle.c b/drivers/staging/greybus/bundle.c
index 376ca53f0d83..3f702db9e098 100644
--- a/drivers/staging/greybus/bundle.c
+++ b/drivers/staging/greybus/bundle.c
@@ -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);