staging: most: cdev: fix up parenthesizing
authorChristian Gromm <christian.gromm@microchip.com>
Mon, 22 Jun 2020 08:48:13 +0000 (10:48 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Jun 2020 13:40:28 +0000 (15:40 +0200)
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>
drivers/staging/most/cdev/cdev.c

index 9fc84fa..d374cc0 100644 (file)
@@ -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);