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;