Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752007AbdIKQP2 (ORCPT ); Mon, 11 Sep 2017 12:15:28 -0400 Received: from mail-sn1nam01on0109.outbound.protection.outlook.com ([104.47.32.109]:30817 "EHLO NAM01-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751980AbdIKQP0 (ORCPT ); Mon, 11 Sep 2017 12:15:26 -0400 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=RyanS.Lee@maximintegrated.com; From: Ryan Lee To: lgirdwood@gmail.com, broonie@kernel.org, perex@perex.cz, tiwai@suse.com, ryans.lee@maximintegrated.com, kuninori.morimoto.gx@renesas.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Cc: ryan.lee.maxim@gmail.com Subject: [PATCH 3/3] ASoC: max98927: Removed obsolete variables Date: Mon, 11 Sep 2017 09:15:15 -0700 Message-Id: <1505146515-19501-1-git-send-email-ryans.lee@maximintegrated.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [204.17.143.20] X-ClientProxiedBy: MWHPR0201CA0019.namprd02.prod.outlook.com (10.167.160.160) To SN1PR11MB0846.namprd11.prod.outlook.com (10.163.208.144) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 702e2451-caf8-42ff-9d31-08d4f9304ed7 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(300000502095)(300135100095)(22001)(2017030254152)(48565401081)(300000503095)(300135400095)(2017052603199)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);SRVR:SN1PR11MB0846; X-Microsoft-Exchange-Diagnostics: 1;SN1PR11MB0846;3:3AlgrdGWMRxFTZiKvEF8WMcMNZcXk0z7ew8DU8WLJa11qVfS7sl+bIdgEEc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LhEf8rWCoIImUJ3kBIk0dAmx5fMjlfBfyrx52q3nqQbnq5PHBXi+n/OYGikxY5k2k0Q64qzuYlZePc005vsz3BqP4+63aExNIFtcEbIGALC3ZqebIbWyKOfyPWj9g5s5gQjrff/76aCj2dI4qYhcMe+T4sxHrfeC4IXf6POXp+vBO5Z2fWWRc0QsR+mB/gqEHq120Ho4MMVpQKF3ICX/l0MVy+nMOcEnyj/E43k2n+O7Ontvv7AOA2hu+YxmEqtBONwJweSlo4v8DezamVuBkwEjRKnIkjmW7wfe;4:AoCxpJRPfnKH/KT+y9NGFMvEe3o8178Sx1zjFDSh2v7rkvuIp6YzaMgjeglB9OS9s/45r4rqX6MgGV4AxE7ark7NKSKSKsfLTmDkEvJYjBCxxngH4TeWk6TntB1V2EGeDkon54309QrULOr5fEOR/dXuTBIaDdKd0TLZcbGxnTuTyFzRaKPiuMz7jefDp19d6QvCCHv0hjYdvRKuCb3g9f/lJheoPWGvF8I1X8Nag6ASJ+4Sg1PkzIFOI5PKwMBUaDZl+Db1WbV2O9Gc8M8Qjgcf/uKNzAXE0KbuJCmGcE4= X-Exchange-Antispam-Report-Test: UriScan:(108721460000369); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(5005006)(8121501046)(3002001)(100000703101)(100105400095)(10201501046)(93006095)(93001095)(6055026)(6041248)(20161123558100)(20161123555025)(20161123560025)(20161123564025)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:SN1PR11MB0846;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:SN1PR11MB0846; X-Forefront-PRVS: 04270EF89C X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(6009001)(189002)(54534003)(199003)(33646002)(50466002)(2906002)(86362001)(50226002)(478600001)(4326008)(8936002)(53416004)(110136004)(39060400002)(7736002)(53936002)(48376002)(6506006)(42186005)(68736007)(97736004)(72206003)(6486002)(25786009)(50986999)(5003940100001)(3846002)(6116002)(6666003)(101416001)(69596002)(47776003)(66066001)(8676002)(106356001)(81166006)(81156014)(5660300001)(105586002)(189998001)(36756003)(305945005)(6512007);DIR:OUT;SFP:1102;SCL:1;SRVR:SN1PR11MB0846;H:ryan-ThinkPad-T430.maxim-ic.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;SN1PR11MB0846;23:sx/XT7kBzwdU/82hnkadW+KqmxDuq926VqfhTiOMM?= =?us-ascii?Q?GIFtpVgAYj8Ve+EsnYA6AAm9Vz5LhpxzVqBG1xhNGmanV9OHGNRzs9LwbnYw?= =?us-ascii?Q?ai9mEPvAflD7GqQTgG2DVlPerB1HpbLDBCXJs75Z6z7d/zEWOdx8g8fvwtRx?= =?us-ascii?Q?B5RxSkJZpWai6g2b6X/Ijnjx5T7vwi6THZg8AYxX05g3oDr7+S4MF0KokqBF?= =?us-ascii?Q?HtjWp73tiLM/WGP/c7QGb5swszLdY9L5xJ0v3RnmYLbEoIAoxG1LmpCoVRVj?= =?us-ascii?Q?efiix5l9vwtAKT40prruOEi84aYSDZTrG44XtxlTULqSFd80I07dyZbkutpJ?= =?us-ascii?Q?6vw2RlQKMNGJZKEPV+gPKOgo9rpUh/HOJW3qBlUmn6OacCih5TtF2vYYElW6?= =?us-ascii?Q?hhF7ngZ1gWyfSnrPtBk872HDrqs5NSeq8QdS9a1gIB08cenEk+tgenMoD5Mr?= =?us-ascii?Q?XNqvfsornWZJDJwgJsvthfeLf/Vfg8w05AGBg7/rvhDOPq2ajs4iyIENkE0d?= =?us-ascii?Q?rPwndxPlQcEhvWJtOuC3OCb1Mqkae8RuE8sS0X5eD3TZ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FyabkxWBbgWkV4RMUszJyNxTtK/36TDDq3LtfjsbVRxv/QuoDfQiFOW4nGGe+2QFSWzDaTo3lzoc3mgiVxh2ryVcgvCCxaWnF0KzQtB6d+dN3f/iaw==;24:kN0HZZWr3r9w9ClhLfSGrswhFVW5mR9qWlgalCvqglB45glxATBwdZqZ2C0tK0R6OpvfILcFaPa68pmloJHEbsa2kTsw6C88E0jfQYXqZUk=;7:S5EYHWKzFfU6AtIjuaZLqJBr3368aUHcrzcU1imxV/TLUNcQG8Pi/bDKcsxGPrKqO5neuPSOcFD51uNBkSACuxQ20JddTTsPgbRqa/qyzGVieHwXNVVzhEPoPsvmeXgAJMH8HCU2TVwjb8UoEF3VlO+YJCxEjfvhxvXb4MKgHzCzSB90ULdwLUE/8uZwddZFMjHzCmrj6sEcJeUojdotdaG1eUaM3N2h3p7fYMwPVMw= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: maximintegrated.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Sep 2017 16:15:23.4769 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: fbd909df-ea69-4788-a554-f24b7854ad03 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR11MB0846 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 803 Lines: 32 Signed-off-by: Ryan Lee --- Changelog: Removed obsolete variables that have never been referred from driver before. sound/soc/codecs/max98927.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sound/soc/codecs/max98927.h b/sound/soc/codecs/max98927.h index 98b5f17..d215f60 100644 --- a/sound/soc/codecs/max98927.h +++ b/sound/soc/codecs/max98927.h @@ -263,17 +263,13 @@ struct max98927_priv { struct regmap *regmap; struct snd_soc_codec *codec; - struct max98927_pdata *pdata; - unsigned int spk_gain; unsigned int sysclk; unsigned int v_l_slot; unsigned int i_l_slot; bool interleave_mode; unsigned int ch_size; - unsigned int rate; unsigned int iface; unsigned int master; - unsigned int digital_gain; bool tdm_mode; }; #endif -- 1.9.1