Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

scsi: ufs: ufs-exynos: Remove pwr_max from parameter list of exynos_ufs_post_pwr_mode()

pwr_max is unused, remove it.

Link: https://lore.kernel.org/r/20210311042833.1381-1-zbestahu@gmail.com
Signed-off-by: Yue Hu <huyue2@yulong.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

authored by

Yue Hu and committed by
Martin K. Petersen
dfd35e1d 7a0c0e6c

+1 -2
+1 -2
drivers/scsi/ufs/ufs-exynos.c
··· 652 652 653 653 #define PWR_MODE_STR_LEN 64 654 654 static int exynos_ufs_post_pwr_mode(struct ufs_hba *hba, 655 - struct ufs_pa_layer_attr *pwr_max, 656 655 struct ufs_pa_layer_attr *pwr_req) 657 656 { 658 657 struct exynos_ufs *ufs = ufshcd_get_variant(hba); ··· 1154 1155 dev_req_params); 1155 1156 break; 1156 1157 case POST_CHANGE: 1157 - ret = exynos_ufs_post_pwr_mode(hba, NULL, dev_req_params); 1158 + ret = exynos_ufs_post_pwr_mode(hba, dev_req_params); 1158 1159 break; 1159 1160 } 1160 1161