All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] staging: greybus: Remove parentheses around variable
@ 2019-03-19 20:03 Nishka Dasgupta
  2019-03-19 20:06 ` [Outreachy kernel] " Julia Lawall
  2019-03-20  8:50 ` Johan Hovold
  0 siblings, 2 replies; 7+ messages in thread
From: Nishka Dasgupta @ 2019-03-19 20:03 UTC (permalink / raw)
  To: johan, elder, gregkh, outreachy-kernel; +Cc: Nishka Dasgupta

Remove parentheses around variable.

Signed-off-by: Nishka Dasgupta <nishka.dasgupta@yahoo.com>
---
 drivers/staging/greybus/bundle.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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);
-- 
2.19.1



^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-03-20 16:31 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-19 20:03 [PATCH] staging: greybus: Remove parentheses around variable Nishka Dasgupta
2019-03-19 20:06 ` [Outreachy kernel] " Julia Lawall
2019-03-20  6:47   ` Greg KH
2019-03-20  6:58     ` Julia Lawall
2019-03-20  8:50 ` Johan Hovold
2019-03-20 16:02   ` NIshka Dasgupta
2019-03-20 16:31     ` Johan Hovold

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.