staging: rts5208: remove parentheses pair in sd.c
authorBenjamin Philip <benjamin.philip495@gmail.com>
Tue, 21 Sep 2021 07:33:49 +0000 (13:03 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 Sep 2021 15:30:55 +0000 (17:30 +0200)
I had missed a single parentheses pair in the commit for sd.c.
This commit removes the pair I missed.

Signed-off-by: Benjamin Philip <benjamin.philip495@gmail.com>
Link: https://lore.kernel.org/r/4a56facd2c04a321b091d3b7dbea87168e8ddd6e.1632209460.git.benjamin.philip495@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rts5208/sd.c

index 71f04e3..d1fafd5 100644 (file)
@@ -1335,7 +1335,7 @@ static int sd_switch_function(struct rtsx_chip *chip, u8 bus_width)
                        return STATUS_FAIL;
        }
 
-       if (!func_to_switch || (func_to_switch == HS_SUPPORT)) {
+       if (!func_to_switch || func_to_switch == HS_SUPPORT) {
                /* Do not try to switch current limit if the card doesn't
                 * support UHS mode or we don't want it to support UHS mode
                 */