Re: [PATCH v2] scsi: ufs: remove set but not used variable 'val'

2019-08-29 Thread Martin K. Petersen
zhengbin, > Fixes gcc '-Wunused-but-set-variable' warning: > > drivers/scsi/ufs/ufs-qcom.c: In function ufs_qcom_pwr_change_notify: > drivers/scsi/ufs/ufs-qcom.c:808:6: warning: variable val set but not used > [-Wunused-but-set-variable] Applied to 5.4/scsi-queue, thanks. -- Martin K. Peters

Re: [PATCH v2] scsi: ufs: remove set but not used variable 'val'

2019-08-25 Thread Avri Altman
...@huawei.com Subject: [PATCH v2] scsi: ufs: remove set but not used variable 'val' CAUTION: This email originated from outside of Western Digital. Do not click on links or open attachments unless you recognize the sender and know that the content is safe. Fixes gcc '-Wunused-b

[PATCH v2] scsi: ufs: remove set but not used variable 'val'

2019-08-25 Thread zhengbin
Fixes gcc '-Wunused-but-set-variable' warning: drivers/scsi/ufs/ufs-qcom.c: In function ufs_qcom_pwr_change_notify: drivers/scsi/ufs/ufs-qcom.c:808:6: warning: variable val set but not used [-Wunused-but-set-variable] Fixes: 1e1e465c6d23 ("scsi/ufs: qcom: Remove ufs_qcom_phy_*() calls from host"