Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752627AbdIAVgT (ORCPT ); Fri, 1 Sep 2017 17:36:19 -0400 Received: from mail-sn1nam01on0134.outbound.protection.outlook.com ([104.47.32.134]:48736 "EHLO NAM01-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752566AbdIAVgP (ORCPT ); Fri, 1 Sep 2017 17:36:15 -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: Fri, 1 Sep 2017 14:35:08 -0700 Message-Id: <1504301708-24389-3-git-send-email-ryans.lee@maximintegrated.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1504301708-24389-1-git-send-email-ryans.lee@maximintegrated.com> References: <1504301708-24389-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: MWHPR18CA0034.namprd18.prod.outlook.com (10.175.9.148) To CY1PR11MB0843.namprd11.prod.outlook.com (10.163.237.21) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 3ea5af10-0917-4be2-1c73-08d4f18177a5 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:CY1PR11MB0843; X-Microsoft-Exchange-Diagnostics: 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nvmEU2TsZcms7NF+srDDCiU+9JOg4iiFWgctNxgGFMl0f462g97mkCBkV54Ym+dXjksuXwpUG3Sh3gopYAwrznUgPFvgkSZcGcvzRdZr/dPFn8p7aQfWlHGg9ZOhKMEz7aW2dy7ctn7OYP2++XGcqqgZRvJFm/mAgw0jncQa7Fx3rtkuRGAuDDE9L7ak4pgBKzdt5qWXwbSSyVkL0E+hYAWcTk4uQ8dXdHFbbIX6CE6S0rTuHseO/CD5szLQdAdqBq4oXm1DaymqGMV9HI5p7W2Y0Zz1BkMlQDksYvQQhVxOLu+HKu+uMhcZxql7xyeHYN8a1kxswZX4jmhV6uPCkq7v7ZZFxxCarP3TgtE;4:2LiNrtMe/xSjUPOO2+YI5MKjSYlf2LqRfii+gQnx6lfUl5eLUTbW7hMv3fQyd+t6PcXEtdUjMzjkKUAxIaGVangP7QXr639AeDKSy9LcomCSd0hvdyYI8M+OPgZN5SmpKSb/4RShyhpnjlyr/v5qOcS+oKjo5j3ihit0mrbhOsD5bTG0eOGAehY/KNQeEOFxywVYPpvLcgqPPfQP5MA/qiTUi4lNYdL2ethBceTgwcFsg/i0XIFNws5sCjO/djTSx5avLmcSvH/czQtmfC9NgttHAubP6Cftkuj8K3KMxaM= 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)(5005006)(8121501046)(3002001)(93006095)(93001095)(10201501046)(100000703101)(100105400095)(6055026)(6041248)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(20161123558100)(20161123562025)(20161123564025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:CY1PR11MB0843;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:CY1PR11MB0843; X-Forefront-PRVS: 0417A3FFD2 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(6009001)(39860400002)(189002)(199003)(54534003)(7736002)(5003940100001)(2906002)(53936002)(305945005)(3846002)(6116002)(478600001)(66066001)(5660300001)(4326008)(8676002)(33646002)(76176999)(189998001)(81156014)(81166006)(6666003)(25786009)(50986999)(2950100002)(86362001)(36756003)(69596002)(53416004)(6512007)(8936002)(50226002)(6486002)(39060400002)(110136004)(106356001)(68736007)(42186005)(6506006)(105586002)(97736004)(50466002)(72206003)(101416001)(47776003)(48376002);DIR:OUT;SFP:1102;SCL:1;SRVR:CY1PR11MB0843;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;CY1PR11MB0843;23:/PeLyBb3SwMOIdQ83Koc/+Xw6f4yQwIIaeahlpFZt?= =?us-ascii?Q?CPbD6wCPFvtq6sPZtgI4Hf9w2WSBc6f9nBAYDy5DIExELUNa0Lm68nMG6aar?= =?us-ascii?Q?IzFD+yUYXTTQr4hIVX2zp6Lu55L1Xp/38m39BEF871cjK8Nbow1LLYcaLpXn?= =?us-ascii?Q?/Jh9QzHmQmaZLrJV0g0HZXerAi4ohrs2KGKGwvJOlIR02ntc+ON4rz6KvnJS?= =?us-ascii?Q?rRaHHrJEVrdjnFvcHzKF7wMkuAhGhTffRVXd/XvvCw+vkmn3B6m3fAt1cIUU?= =?us-ascii?Q?rOPmFkUxueieC4FehkdwmJbMQsI6XTvhwW9DgZ4UzRpNke7G3U7IpF6HI7nZ?= =?us-ascii?Q?CvejpUpH0Mz3lexfl0NiKxtSmgjSuOHmO7B7JSsUEZf/5kCz7DigBSWNiWim?= =?us-ascii?Q?0WUFRE8uOwc9/oY5uxNYhi0l69M0pgG1abxkfNnQU+/0solPP/Hhf3/xCLsd?= =?us-ascii?Q?BcF5+qMGZbtGM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MmI9IhJuELxTIypcp9TXUgbfmauAaDApk1jEEoQh5ncX0lBL2ULYhcCBcZNrQjVVeX2KX6W8PZNWygmgdqm7JugGHA4NnpZcjSVmtZsLhExRUuy5hfGz+XzoPAFH6YU3sVLKq9VKBxJa2g==;5:UR4BRkJKx0l6mVE+nJwhC8b3pfgtmtVf2KBm95HlR50FEtBnFS3hKWBjAK3VNFZv2sl8ZBA+wm9g50958znPuMBu3B1KHuw0sVYEhoKlETD5hZl1zhPB/tAqJKVMDfufhm536pKyXmGeYy8+aP5yqQ==;24:X5yQlI9+DTgg7GOvtCGK+vO+igQp1PaJnMON/xwLl1jx3GdzRmZJ5sAVVBsjTu9tjxAQpr1Y0KMhPn80VqWLF3/rRJ4xatBlYxPyWqWKuqg=;7:snhTzKgknjWC7j8C6nV1Oj4UXuUjYRzEGIYvglTaht0nKsG+pvjh6fm0CG0Tv0XiJfv/9a9A2hpdhCJcKLX39vsdJ8KlWXou4uLwenqM3hHOtNG9eG2TwPRXr7f7svWG96Sakmj7/ZhfPrrjBDU2t/c30suRQSskyi0ILxVclDlAqTRjd/NushpwmKfx6y7rvqEGYkL8cbPWz4iqEox3H4y9zS8japq3QgCtCCtmB9c= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: maximintegrated.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Sep 2017 21:36:12.1310 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: fbd909df-ea69-4788-a554-f24b7854ad03 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR11MB0843 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 804 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