aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/most
diff options
context:
space:
mode:
authorChristian Gromm <christian.gromm@microchip.com>2020-06-22 10:48:13 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-06-25 15:40:28 +0200
commite8e0f7fd7715de745ef522b5ed96e1f947e3fb91 (patch)
treeacf449d0ebd6c1ef3a3fde1f763a662f41acdacb /drivers/staging/most
parentstaging: most: cdev: remove overcautious parameter checking (diff)
downloadlinux-dev-e8e0f7fd7715de745ef522b5ed96e1f947e3fb91.tar.xz
linux-dev-e8e0f7fd7715de745ef522b5ed96e1f947e3fb91.zip
staging: most: cdev: fix up parenthesizing
This patch removes unnecessary parnthesis. Signed-off-by: Christian Gromm <christian.gromm@microchip.com> Link: https://lore.kernel.org/r/1592815695-19305-5-git-send-email-christian.gromm@microchip.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/most')
-rw-r--r--drivers/staging/most/cdev/cdev.c2
1 files changed, 1 insertions, 1 deletions
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);