diff options
author | Christian Gromm <christian.gromm@microchip.com> | 2020-06-22 10:48:13 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-06-25 15:40:28 +0200 |
commit | e8e0f7fd7715de745ef522b5ed96e1f947e3fb91 (patch) | |
tree | acf449d0ebd6c1ef3a3fde1f763a662f41acdacb /drivers/staging/most | |
parent | 7aed13d1653678137ef291ced45158eaa8c39e96 (diff) |
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.c | 2 |
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); |