From: Christian Lütke-Stetzkamp Date: Sat, 12 May 2018 19:57:45 +0000 (-0700) Subject: ramips: Remove redundant owner assignment X-Git-Tag: v18.06.0-rc1~205 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=2ad4daf5794b08878467c1dac5bef7487109e4da;p=openwrt%2Fstaging%2Fpepe2k.git ramips: Remove redundant owner assignment Remove the owner assignment form the platform driver as platform_driver_register() already initializes the owner. Found using coccinelle. Signed-off-by: Christian Lütke-Stetzkamp Signed-off-by: Greg Kroah-Hartman --- diff --git a/target/linux/ramips/files-4.14/arch/mips/pci/pci-mt7621.c b/target/linux/ramips/files-4.14/arch/mips/pci/pci-mt7621.c index 5125412a7c..4209e2330f 100644 --- a/target/linux/ramips/files-4.14/arch/mips/pci/pci-mt7621.c +++ b/target/linux/ramips/files-4.14/arch/mips/pci/pci-mt7621.c @@ -823,7 +823,6 @@ static struct platform_driver mt7621_pci_driver = { .probe = mt7621_pci_probe, .driver = { .name = "mt7621-pci", - .owner = THIS_MODULE, .of_match_table = of_match_ptr(mt7621_pci_ids), }, };