diff options
| author | Mamta Shukla <[email protected]> | 2018-10-05 12:49:38 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2018-10-09 14:59:38 +0200 |
| commit | 101c82f23957d5772553787fdffa292aa3195bbd (patch) | |
| tree | 208dd657f46efccb20186a660979902b83c75ab1 | |
| parent | cef70f6b041d03b9e2d3cd97bdf659ab4cc99a00 (diff) | |
staging: mt7621-pci: Do not initialise statics to 0
Remove initialisation for static global variable to fix checkpatch issue.
ERROR: do not initialise statics to 0
Signed-off-by: Mamta Shukla <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
| -rw-r--r-- | drivers/staging/mt7621-pci/pci-mt7621.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/mt7621-pci/pci-mt7621.c b/drivers/staging/mt7621-pci/pci-mt7621.c index ba1f117a47ce..3182d8a21010 100644 --- a/drivers/staging/mt7621-pci/pci-mt7621.c +++ b/drivers/staging/mt7621-pci/pci-mt7621.c @@ -122,7 +122,7 @@ #define RALINK_PCIE_CLK_EN BIT(21) #define MEMORY_BASE 0x0 -static int pcie_link_status = 0; +static int pcie_link_status; /** * struct mt7621_pcie_port - PCIe port information |