ufshcd: fix parentheses-equality warning
authorYaroslav Furman <yaro330@gmail.com>
Fri, 22 Jun 2018 17:57:13 +0000 (20:57 +0300)
committerMichael Benedict <michaelbt@live.com>
Sat, 31 Aug 2019 15:08:49 +0000 (01:08 +1000)
Signed-off-by: Yaroslav Furman <yaro330@gmail.com>
drivers/scsi/ufs/ufshcd.c

index db328f456d8a3c6d75f31f451a4483411e1ed18d..e20909112c61628bcb97b5fe622c7c745092f04a 100644 (file)
@@ -1369,9 +1369,9 @@ ufshcd_wait_for_uic_cmd(struct ufs_hba *hba, struct uic_command *uic_cmd)
 
        if (uic_cmd->command == UIC_CMD_DME_LINK_STARTUP)
                index = 0;
-       else if ((uic_cmd->command == UIC_CMD_DME_HIBER_ENTER))
+       else if (uic_cmd->command == UIC_CMD_DME_HIBER_ENTER)
                index = 1;
-       else if ((uic_cmd->command == UIC_CMD_DME_HIBER_EXIT))
+       else if (uic_cmd->command == UIC_CMD_DME_HIBER_EXIT)
                index = 2;
        else
                index = -1;