From: Christian Gromm Date: Mon, 22 Jun 2020 08:48:13 +0000 (+0200) Subject: staging: most: cdev: fix up parenthesizing X-Git-Tag: iomap-folio-5.17-old~3478^2~236 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=e8e0f7fd7715de745ef522b5ed96e1f947e3fb91;p=users%2Fwilly%2Flinux.git staging: most: cdev: fix up parenthesizing This patch removes unnecessary parnthesis. Signed-off-by: Christian Gromm Link: https://lore.kernel.org/r/1592815695-19305-5-git-send-email-christian.gromm@microchip.com Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/most/cdev/cdev.c b/drivers/staging/most/cdev/cdev.c index 9fc84fae21fd..d374cc05e447 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);