projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8376ccd
)
ufshcd: fix parentheses-equality warning
author
Yaroslav Furman
<yaro330@gmail.com>
Fri, 22 Jun 2018 17:57:13 +0000
(20:57 +0300)
committer
Michael 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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/scsi/ufs/ufshcd.c
b/drivers/scsi/ufs/ufshcd.c
index db328f456d8a3c6d75f31f451a4483411e1ed18d..e20909112c61628bcb97b5fe622c7c745092f04a 100644
(file)
--- 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;