From: Christian Gromm Date: Mon, 22 Jun 2020 08:48:13 +0000 (+0200) Subject: staging: most: cdev: fix up parenthesizing X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=e8e0f7fd7715de745ef522b5ed96e1f947e3fb91;p=linux.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 9fc84fae21fd4..d374cc05e447d 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);