[PATCH 4/6] staging: most: cdev: fix up parenthesizing

Christian Gromm christian.gromm at microchip.com
Mon Jun 22 08:48:13 UTC 2020


This patch removes unnecessary parnthesis.

Signed-off-by: Christian Gromm <christian.gromm at microchip.com>
---
 drivers/staging/most/cdev/cdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/most/cdev/cdev.c b/drivers/staging/most/cdev/cdev.c
index 9fc84fa..d374cc0 100644
--- a/drivers/staging/most/cdev/cdev.c
+++ b/drivers/staging/most/cdev/cdev.c
@@ -420,7 +420,7 @@ static int comp_probe(struct most_interface *iface, int channel_id,
 	int retval;
 	int current_minor;
 
-	if ((!cfg) || (!name))
+	if (!cfg || !name)
 		return -EINVAL;
 
 	c = get_channel(iface, channel_id);
-- 
2.7.4



More information about the devel mailing list