[<prev] [next>] [day] [month] [year] [list]
Message-ID: <41bba93a-24bd-d12d-016b-79469e8c15f3@users.sourceforge.net>
Date: Mon, 15 Aug 2016 19:38:03 +0200
From: SF Markus Elfring <elfring@...rs.sourceforge.net>
To: linux-arm-kernel@...ts.infradead.org,
linux-mediatek@...ts.infradead.org, linux-mips@...ux-mips.org,
John Crispin <john@...ozen.org>,
Matthias Brugger <matthias.bgg@...il.com>,
Ralf Baechle <ralf@...ux-mips.org>
Cc: LKML <linux-kernel@...r.kernel.org>,
kernel-janitors@...r.kernel.org,
Julia Lawall <julia.lawall@...6.fr>,
Wei Yongjun <yongjun_wei@...ndmicro.com.cn>
Subject: [PATCH] MIPS: pci-mt7620: Delete unnecessary assignment for the field
"owner"
From: Markus Elfring <elfring@...rs.sourceforge.net>
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 <elfring@...rs.sourceforge.net>
---
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),
},
};
--
2.9.2
Powered by blists - more mailing lists