Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754931AbdHZAnM (ORCPT ); Fri, 25 Aug 2017 20:43:12 -0400 Received: from mail-cys01nam02on0131.outbound.protection.outlook.com ([104.47.37.131]:30527 "EHLO NAM02-CY1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754536AbdHZAlh (ORCPT ); Fri, 25 Aug 2017 20:41:37 -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 5/9] ASoC: max98927: Removed obsolete variables Date: Fri, 25 Aug 2017 17:41:06 -0700 Message-Id: <1503708070-7906-5-git-send-email-ryans.lee@maximintegrated.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1503708070-7906-1-git-send-email-ryans.lee@maximintegrated.com> References: <1503708070-7906-1-git-send-email-ryans.lee@maximintegrated.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [204.17.143.20] X-ClientProxiedBy: CY4PR15CA0022.namprd15.prod.outlook.com (10.172.74.32) To BLUPR11MB0835.namprd11.prod.outlook.com (10.163.217.145) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 2b38ec49-29e0-4bb8-dc7d-08d4ec1b32d0 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(48565401081)(300000503095)(300135400095)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);SRVR:BLUPR11MB0835; X-Microsoft-Exchange-Diagnostics: 1;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nXNdp2vxkVWRl1ocF4Hy770vIDKnUnxlT0cxSH8IEUdbYB3vP4SbRFacGeZaeyuFGGjqqh7+GJQSjQXXteh3XTP9hZYgFEf9EDH+yrhLAof43eF2tNmyXpE/gYh0pfZW4caaXwgpiB+6POohuJ2YgKncC4gXiMZDm0tBqledDsejoyZyy7KC7FyECIaThbKhR8ZygjJkVr9vZYq/x2IvytVKbrdWw1Xo/e/U8TUx4DZjsn+4zl9eAM7Sx2Y6FXKxn9Qb0flVnGPccIw1ooyRPw123tZlCtWHOJPbqKuBtX6e6Aem9qrb2NLMA4S/kFkidpmIGuss8VK/WjOGUROd8T+NuwwMmPUC8rw25ZmRXn/m8NTR2Y;4:HTvtJyRs0U05snUG02rlPx4jnb7Y42DSRe5mK76qFUFofwokX32nQtflNXUsClITmZyL3tXN4VeRNWPzJ2pbOSZIXUacvAtFo/8VeaF2C+oX9v/AhHqZ9DTGLadX59gEfEQ0vbu5jXtBAv/uiOrWOPW9HSjFxPhcFnxbUqN/6Bca+92ggZCIZ8WI91vwRkENSesJsUH0uNGyX3o6DdgwMg6+0jVtCZa3I2YG4XSn+eZf3ACJg15LfveBo5dXjloyXn4cUe0ZIt4sQRQAHcqLy+wv8wtCkS4zDcQPmF1AwTg= 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)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(100000703101)(100105400095)(93006095)(93001095)(6055026)(6041248)(20161123564025)(20161123562025)(20161123558100)(20161123560025)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:BLUPR11MB0835;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:BLUPR11MB0835; X-Forefront-PRVS: 04111BAC64 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(4630300001)(7370300001)(6009001)(39860400002)(189002)(199003)(4326008)(72206003)(97736004)(81166006)(110136004)(81156014)(8676002)(53936002)(189998001)(66066001)(25786009)(478600001)(86362001)(47776003)(305945005)(48376002)(7736002)(50466002)(3846002)(50986999)(2906002)(6486002)(6506006)(6666003)(6512007)(68736007)(76176999)(101416001)(53416004)(50226002)(5660300001)(6116002)(2950100002)(42186005)(69596002)(7350300001)(5003940100001)(106356001)(105586002)(33646002)(36756003);DIR:OUT;SFP:1102;SCL:1;SRVR:BLUPR11MB0835;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;BLUPR11MB0835;23:ThTBxfsMJxgDWrJJ/KGqn+FStIv3mCKzu79+9eekP?= =?us-ascii?Q?430OCNtZvxZI3BsrEteQHpXNdyx6yZjZzE0K2BPqabYbhTrN5cXGmAYw1mQ2?= =?us-ascii?Q?wOQRUXXEKv1ZJs582hNoRPQsZJUc/9mAbxlGHVz+TmhgFFHLcRAyy/H3USzc?= =?us-ascii?Q?7JjpuZYF9vVF3vwEeXgY6US6ncAZkLKQ7qvY/GwRZsIoHCXoFk4JoIhnzZoJ?= =?us-ascii?Q?latNMqvQqsVltwds8ejwNV8+UQC4pPEYgMbtHcH0DqXZ3JsJKZ//DmEDmJqC?= =?us-ascii?Q?+VsY3oiXaKOvCZpCy4YXDPiUnmGDFgj/JFtntNCktjc402lxurjU2Cp1Z81n?= =?us-ascii?Q?4Y1LM60CP7bkZquehYUBk06C868rGLSXNFyBWxakJiwDlNwDiLN9O35KFHAq?= =?us-ascii?Q?2HSTIYgkVQ+v+BXrVhZcCLGynAR+1nyqlveZteI65bFdDsWA4qNjNmqpNcnf?= =?us-ascii?Q?7d4h1TfkLZoM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z3JGa/vOJ8s5fvff+vjrIVI2I5YRH/xjsMtiKL77JxRl+Ko3ZtZIprnh/qas0NrU7aa4u6DTOHmMhuh4Uv//SOLJ7cURu+AoSRzoQLIBIs4oBRHd1vQ3U8GeSe5BLtxyoI/XytxskjowHuXUfmuTYk2oFja92mESDZfKF9eRg==;5:1kA4bopbhk1X3POSAio/JrsB843mbeqpIYSyCr3iB+DwvsCUUGz6E9kEg5ssFuZWqh9To+msdc4A1CpWRPGGt8jWsiKcZppPpN/ybg15pz637fx/hNmBmUk/SsgmboExwUvEAoY89KjZMOHmwZEfKg==;24:tdGY6E/fX4WyFjoyfEhbGyDGmh4ysM6hmz616fgYtHQvfAZ6htWCaikGJm54lYXkHyeLmxTyDtZ6rIqZDBOth1Rl9EN3FuKVnoR1sO8XqbA=;7:SuDQwSRZkD+CVkztMkODpX1BMTbRM5HgZCku5DSS5e/WOeutJjjpQBN+Of+fuahZ0W3ijfJQ0rZ5RiCOiFt1IgUJx55n3Qxv0TlXoRnOqk7+ThFdH/crCqQpwkJdcLG5V0j6DWeq+6o4xKb8pnCn0xsqqxTD4CXx2CBWR16y8ngVD/F/T+rxVSg4lbiLuvYAbcK9MKn/pY+tbpjY3ncAWpfFIgzOKJI6aYd3OV38Pk0= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: maximintegrated.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Aug 2017 00:41:31.8465 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR11MB0835 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 837 Lines: 33 Signed-off-by: Ryan Lee --- Changes : Removed obsolete variables from max98927_priv sound/soc/codecs/max98927.h | 4 ---- 1 file changed, 4 deletions(-) mode change 100644 => 100755 sound/soc/codecs/max98927.h diff --git a/sound/soc/codecs/max98927.h b/sound/soc/codecs/max98927.h old mode 100644 new mode 100755 index 3069a09..30cc40a --- a/sound/soc/codecs/max98927.h +++ b/sound/soc/codecs/max98927.h @@ -263,16 +263,12 @@ 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; }; #endif -- 1.9.1