Re: [PATCH 098/117] ufs: Remove an unused structure member

Can Guo
2021-05-06T23:58:13Z

On 2021-04-20 10:13, Bart Van Assche wrote:
> The 'scsi_status' member is present since the introduction of the UFS
> driver but has never been used. Hence remove it.
>
> Cc: Can Guo <cang@codeaurora.org>
> Cc: Avri Altman <avri.altman@wdc.com>
> Cc: Bean Huo <beanhuo@micron.com>
> Cc: Alim Akhtar <alim.akhtar@samsung.com>
> Cc: Asutosh Das <asutoshd@codeaurora.org>
> Signed-off-by: Bart Van Assche <bvanassche@acm.org>
> ---
> drivers/scsi/ufs/ufshcd.h | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/scsi/ufs/ufshcd.h b/drivers/scsi/ufs/ufshcd.h
> index 5eb66a8debc7..20ad78083246 100644
> --- a/drivers/scsi/ufs/ufshcd.h
> +++ b/drivers/scsi/ufs/ufshcd.h
> @@ -211,7 +211,6 @@ struct ufshcd_lrb {
> struct scsi_cmnd *cmd;
> u8 *sense_buffer;
> unsigned int sense_bufflen;
> - int scsi_status;
>
> int command_type;
> int task_tag;

Reviewed-by: Can Guo <cang@codeaurora.org>