Skip to contentSkip to conversation

MIPS: pci-mt7620: Delete unnecessary assignment for the field "owner"

PATCH New SF Markus Elfring 1 participant 1 message Aug 15, 2016

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MIPS: pci-mt7620: Delete unnecessary assignment for the field "owner"

From: Markus Elfring <[email protected]>
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

---
 arch/mips/pci/pci-mt7620.c | 1 -
 1 file changed, 1 deletion(-)
arch/mips/pci/pci-mt7620.c +0 -1
index 6ce8162..eb39826 100644
@@ -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),
 	},
 };
Signature · 1 line
2.9.2