aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
diff options
context:
space:
mode:
authorChristian Lütke-Stetzkamp <christian@lkamp.de>2018-05-12 12:57:45 -0700
committerJohn Crispin <john@phrozen.org>2018-05-14 16:23:36 +0200
commit2ad4daf5794b08878467c1dac5bef7487109e4da (patch)
tree8bfa188eeb5afc3c7e1ec3c095b95c2f8b6aafea /target/linux/ramips
parenta098a78a33a6b096d15c9982b5d6457988e09f03 (diff)
downloadupstream-2ad4daf5794b08878467c1dac5bef7487109e4da.tar.gz
upstream-2ad4daf5794b08878467c1dac5bef7487109e4da.tar.bz2
upstream-2ad4daf5794b08878467c1dac5bef7487109e4da.zip
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 <christian@lkamp.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'target/linux/ramips')
-rw-r--r--target/linux/ramips/files-4.14/arch/mips/pci/pci-mt7621.c1
1 files changed, 0 insertions, 1 deletions
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),
},
};