Skip to contentSkip to conversation

Staging: mt7621-pci: pci-mt7621: fixed a blank line coding style issue

PATCH Superseded Selvakumar Elangovan 2 participants 2 messages Feb 17, 2021

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Staging: mt7621-pci: pci-mt7621: fixed a blank line coding style issue

Removed an unecessary blank line before closing brace reported by checkpatch.pl

---
 drivers/staging/mt7621-pci/pci-mt7621.c | 1 -
 1 file changed, 1 deletion(-)
drivers/staging/mt7621-pci/pci-mt7621.c +0 -1
index c3532bc138fb..1781c1dcf5b4 100644
@@ -521,7 +521,6 @@ static void mt7621_pcie_init_ports(struct mt7621_pcie *pcie)
 
 			if (slot == 1 && tmp && !tmp->enabled)
 				phy_power_off(tmp->phy);
-
 		}
 	}
 }
Signature · 1 line
2.17.1
Reviewed-by on v1 1/1
#1 lore raw

Hi Selvakumar,

Quoted 3 lines · Selvakumar Elangovan

Removed an unecessary blank line before closing brace reported by checkpatch.pl

Typo:

s/unecessary/unnecessary/g

Quoted 19 lines
---
 drivers/staging/mt7621-pci/pci-mt7621.c | 1 -
 1 file changed, 1 deletion(-)
drivers/staging/mt7621-pci/pci-mt7621.c +0 -2
index c3532bc138fb..1781c1dcf5b4 100644
@@ -521,7 +521,6 @@ static void mt7621_pcie_init_ports(struct mt7621_pcie *pcie)
 
                        if (slot == 1 && tmp && !tmp->enabled)
                                phy_power_off(tmp->phy);
-
                }
        }
 }
--
Quoted 2 lines

2.17.1

Please, also change commit short message to:

staging: mt7621-pci: fixed a blank line coding style issue

With that changes:

Best regards,
Sergio Paracuellos