From patchwork Mon Aug 15 17:38:03 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: SF Markus Elfring X-Patchwork-Id: 9281685 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 9CE50607FD for ; Mon, 15 Aug 2016 17:40:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8BD2628DB6 for ; Mon, 15 Aug 2016 17:40:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7B66228E15; Mon, 15 Aug 2016 17:40:09 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 0BC7F28DB6 for ; Mon, 15 Aug 2016 17:40:09 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bZLqU-0007pm-Ux; Mon, 15 Aug 2016 17:38:42 +0000 Received: from mout.web.de ([212.227.15.4]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bZLqM-0007db-2f; Mon, 15 Aug 2016 17:38:35 +0000 Received: from [192.168.1.3] ([77.181.162.63]) by smtp.web.de (mrweb001) with ESMTPSA (Nemesis) id 0MKJAE-1bazzm3Si6-001lwg; Mon, 15 Aug 2016 19:38:04 +0200 To: linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-mips@linux-mips.org, John Crispin , Matthias Brugger , Ralf Baechle From: SF Markus Elfring Subject: [PATCH] MIPS: pci-mt7620: Delete unnecessary assignment for the field "owner" Message-ID: <41bba93a-24bd-d12d-016b-79469e8c15f3@users.sourceforge.net> Date: Mon, 15 Aug 2016 19:38:03 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2 MIME-Version: 1.0 X-Provags-ID: V03:K0:8OhgYm3KKJlcPG3Ue+xoDT6ASIbGxHtT7dTKVyy2qS/a9qssv0u Oylmk/1397i0Gr2iieGtJGFpUyYNl+vMukP25KIlFybDth+ZhRaJ2NR7smuYlQOPKHpu6ys oem4bCd3axpCoWQc7HYbXiJJxQj5gz+BhXkkRDVqbpwmw+yB/7XUmhCcMaNH+A8lvqXUG0q 7jxQciU1A7dhRriLJlEJQ== X-UI-Out-Filterresults: notjunk:1; V01:K0:XVgG4zyD6bY=:xbDBfOedrt7ixXLHh3fE6C VhXVSk2kfyqfh1kfrZCcacQeBz+yTaHzpacWPfrGgq1CIIUfTaIvdmBTVaq62x6/nMvVP0yLR KgZ9vfuF15MuWy/fOT68s5M0FqY7WSnodrOPi4OJcTobkJEPj0Vh4RoEqs1ZA5dQjARwylQ5D lDHM1xYq3XbhV9IeUBtH/gLmHwAKcrV6h4cQslRXxCdR2CY7RtYF+ALvCZL1Cs/A8krakX3X/ b7yvftW3KRBuz2+cPW7rpoOM3BOZl5biA7ssUGbWX4OCwi0Q+NQN1vG0pXkA9v1YqoW9BAhDt bEu+ydm871yESKoZNpu6dnfx51pnA3XkrCd6nV3E4BFYEg1gT90TrYDoM/WJBabhTfedikwCn r5w8rW3ZlpvB8BSFSH02NGfk+jOSe3dtO3ORtXkgN7N5KnlwZVN+Q0NdNx3B292c8vziibAnj V/zS8SRGKbO2Z+8m+JcMKSlJfSKNeThv3GRTqlAh+Yxo3HcP236/TF96iUvYzaXr+twJHOQ3f n1R1b0FaLR8nv7U4MDM4ahEjkLyAY9lANZ0AEWM5wotliEssVZv7yY+iInmIhej480rhp8UMo I6Shij5rw9lv9GCaN+2CYAZRLfeA3S3gdk/HCdNL6w4netCHsjbmK0VVVr1jofvZsU1zrZiOr cVqWJUZSp1GCs/kLjG5nIULfQ0FYcdbR4VxDhCigUU1VCVJFEj0GhZQOK4ZbQSi8QUpz0IZZU 6tLEq52dFVIq0tCNkU1IvI51oHYtEHfnFux5ZU6VO0VVS/ByuyDfZke5osD8QJBgss3HKDo/R IQGHA50 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160815_103834_558391_E2A5F19A X-CRM114-Status: UNSURE ( 8.28 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Julia Lawall , Wei Yongjun , kernel-janitors@vger.kernel.org, LKML Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Markus Elfring Date: Mon, 15 Aug 2016 19:29:09 +0200 The field "owner" is set by the core. Thus delete an unneeded initialisation. Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci Signed-off-by: Markus Elfring --- arch/mips/pci/pci-mt7620.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/mips/pci/pci-mt7620.c b/arch/mips/pci/pci-mt7620.c index 6ce8162..eb39826 100644 --- a/arch/mips/pci/pci-mt7620.c +++ b/arch/mips/pci/pci-mt7620.c @@ -413,7 +413,6 @@ static struct platform_driver mt7620_pci_driver = { .probe = mt7620_pci_probe, .driver = { .name = "mt7620-pci", - .owner = THIS_MODULE, .of_match_table = of_match_ptr(mt7620_pci_ids), }, };