mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
447a3621b3
commit
180a41bfbf
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue