From: Yaroslav Furman Date: Fri, 22 Jun 2018 17:57:13 +0000 (+0300) Subject: ufshcd: fix parentheses-equality warning X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3c3508bb8c5a26bc904c16579ef9a735d54b7e1b;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git ufshcd: fix parentheses-equality warning Signed-off-by: Yaroslav Furman --- diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs/ufshcd.c index db328f456d8a..e20909112c61 100644 --- a/drivers/scsi/ufs/ufshcd.c +++ b/drivers/scsi/ufs/ufshcd.c @@ -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;