Commit 180a41bf authored by Nishka Dasgupta's avatar Nishka Dasgupta Committed by Greg Kroah-Hartman

staging: greybus: Remove parentheses around variable

Remove parentheses around variable.
Signed-off-by: default avatarNishka Dasgupta <nishka.dasgupta@yahoo.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 447a3621
...@@ -32,7 +32,7 @@ static ssize_t state_show(struct device *dev, struct device_attribute *attr, ...@@ -32,7 +32,7 @@ static ssize_t state_show(struct device *dev, struct device_attribute *attr,
{ {
struct gb_bundle *bundle = to_gb_bundle(dev); struct gb_bundle *bundle = to_gb_bundle(dev);
if (!(bundle->state)) if (!bundle->state)
return sprintf(buf, "\n"); return sprintf(buf, "\n");
return sprintf(buf, "%s\n", bundle->state); return sprintf(buf, "%s\n", bundle->state);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment