mirror of https://gitee.com/openkylin/linux.git
MIPS: pci-mt7620: Delete unnecessary assignment for the field "owner"
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@users.sourceforge.net> Cc: John Crispin <john@phrozen.org> Cc: Matthias Brugger <matthias.bgg@gmail.com> Cc: Julia Lawall <julia.lawall@lip6.fr> Cc: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Cc: linux-arm-kernel@lists.infradead.org Cc: linux-mediatek@lists.infradead.org Cc: linux-mips@linux-mips.org Cc: LKML <linux-kernel@vger.kernel.org> Cc: kernel-janitors@vger.kernel.org Patchwork: https://patchwork.linux-mips.org/patch/13929/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
765b06479a
commit
94a2de0fdb
|
@ -413,7 +413,6 @@ static struct platform_driver mt7620_pci_driver = {
|
||||||
.probe = mt7620_pci_probe,
|
.probe = mt7620_pci_probe,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "mt7620-pci",
|
.name = "mt7620-pci",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = of_match_ptr(mt7620_pci_ids),
|
.of_match_table = of_match_ptr(mt7620_pci_ids),
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue