From patchwork Fri Jun 12 15:09:59 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stanley Chu X-Patchwork-Id: 11601827 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B1EBF1391 for ; Fri, 12 Jun 2020 15:10:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 99C0F2081A for ; Fri, 12 Jun 2020 15:10:24 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=mediatek.com header.i=@mediatek.com header.b="nxDS8YNj" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726452AbgFLPKM (ORCPT ); Fri, 12 Jun 2020 11:10:12 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:44902 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726361AbgFLPKM (ORCPT ); Fri, 12 Jun 2020 11:10:12 -0400 X-UUID: 5b40850d71ee4948ab30841009a1dcad-20200612 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=FhlTOagA00bCQ3L5jvPszIOhSoVmzjOeACRwX600eCw=; b=nxDS8YNjbuEE5nE3jh8aKWHzeTZg0ENxNnTd4fNzFVRaz9KH7EoXW1sejF7+VIR0TORneSOJbqx4r5sKzgfG27m9JFPeGZneIgZXsNUNVv3tHXAvLhjBQXB+thPdHT6/tdnH52iIDSmw4MKPr+fHbSvUUvccFv+QLQ/Xo7tjdsE=; X-UUID: 5b40850d71ee4948ab30841009a1dcad-20200612 Received: from mtkcas10.mediatek.inc [(172.21.101.39)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1127766091; Fri, 12 Jun 2020 23:10:07 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs02n2.mediatek.inc (172.21.101.101) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 12 Jun 2020 23:10:02 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Fri, 12 Jun 2020 23:10:01 +0800 From: Stanley Chu To: , , , , , CC: , , , , , , , , , , , , , Stanley Chu Subject: [PATCH v1 1/2] scsi: ufs: Remove unused field in struct uic_command Date: Fri, 12 Jun 2020 23:09:59 +0800 Message-ID: <20200612151000.27639-2-stanley.chu@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20200612151000.27639-1-stanley.chu@mediatek.com> References: <20200612151000.27639-1-stanley.chu@mediatek.com> MIME-Version: 1.0 X-TM-SNTS-SMTP: 1AC755333E14547879D60C82DC18A2B1EE8A90CB7AA0E8DCB830A8B739C76C1F2000:8 X-MTK: N Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org Remove unused field "cmd_active" in struct ufs_command. Signed-off-by: Stanley Chu Reviewed-by: Alim Akhtar --- drivers/scsi/ufs/ufshcd.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/scsi/ufs/ufshcd.h b/drivers/scsi/ufs/ufshcd.h index bf97d616e597..814e44871ff0 100644 --- a/drivers/scsi/ufs/ufshcd.h +++ b/drivers/scsi/ufs/ufshcd.h @@ -88,7 +88,6 @@ enum dev_cmd_type { * @argument1: UIC command argument 1 * @argument2: UIC command argument 2 * @argument3: UIC command argument 3 - * @cmd_active: Indicate if UIC command is outstanding * @result: UIC command result * @done: UIC command completion */ @@ -97,7 +96,6 @@ struct uic_command { u32 argument1; u32 argument2; u32 argument3; - int cmd_active; int result; struct completion done; };