From 3c3508bb8c5a26bc904c16579ef9a735d54b7e1b Mon Sep 17 00:00:00 2001 From: Yaroslav Furman Date: Fri, 22 Jun 2018 20:57:13 +0300 Subject: [PATCH] ufshcd: fix parentheses-equality warning Signed-off-by: Yaroslav Furman --- drivers/scsi/ufs/ufshcd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.20.1