From: Christian Lütke-Stetzkamp Date: Wed, 18 Apr 2018 16:40:11 +0000 (+0200) Subject: staging: mt7621-pci: Remove redundant owner assignment X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=70100e25ae98281e430e11e7cb0d82c410c58f36;p=linux.git staging: mt7621-pci: 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/drivers/staging/mt7621-pci/pci-mt7621.c b/drivers/staging/mt7621-pci/pci-mt7621.c index 6023215221980..c49442c9b1872 100644 --- a/drivers/staging/mt7621-pci/pci-mt7621.c +++ b/drivers/staging/mt7621-pci/pci-mt7621.c @@ -832,7 +832,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), }, };