From 0802f11eec07e718361c417654886c69051f8a09 Mon Sep 17 00:00:00 2001 From: Vaisakh Murali Date: Thu, 25 Jan 2024 07:24:55 +0530 Subject: [PATCH] drivers/scsi: ufs: remove obsolete oplus status report Signed-off-by: Vaisakh Murali --- drivers/scsi/ufs/ufstw.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/scsi/ufs/ufstw.c b/drivers/scsi/ufs/ufstw.c index 70d253a180ad..d0370a0fd636 100644 --- a/drivers/scsi/ufs/ufstw.c +++ b/drivers/scsi/ufs/ufstw.c @@ -669,8 +669,6 @@ static int ufstw_lu_init(struct ufsf_feature *ufsf, int lun) err_out: return ret; } - -extern int ufsplus_tw_status; void ufstw_init(struct ufsf_feature *ufsf) { int lun, ret = 0; @@ -710,10 +708,6 @@ void ufstw_init(struct ufsf_feature *ufsf) } } - if (tw_enabled_lun) { - ufsplus_tw_status = 1; - } - if (tw_enabled_lun == 0) { ERR_MSG("tw_enabled_lun count zero"); goto out_free_mem;