Skip to content

Commit

Permalink
drivers: scsi: ufs: Remove unused d_lu_wb_buf_alloc
Browse files Browse the repository at this point in the history
../../../../../../kernel/xiaomi/alioth/drivers/scsi/ufs/ufshcd.c:8613:6: warning: unused variable 'd_lu_wb_buf_alloc' [-Wunused-variable]
        u32 d_lu_wb_buf_alloc;
            ^
1 warning generated.

 * Variable was remove in 5501a5f.
  • Loading branch information
palaych committed Aug 26, 2021
1 parent 48c0dff commit 91101ea
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/scsi/ufs/ufshcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -8610,7 +8610,6 @@ static int ufs_get_device_desc(struct ufs_hba *hba,
size_t buff_len;
u8 model_index;
u8 *desc_buf;
u32 d_lu_wb_buf_alloc;

buff_len = max_t(size_t, hba->desc_size.dev_desc,
QUERY_DESC_MAX_SIZE + 1);
Expand Down

0 comments on commit 91101ea

Please sign in to comment.