summaryrefslogtreecommitdiffstats
path: root/drivers/edac/edac_pci_sysfs.c
diff options
context:
space:
mode:
authorDouglas Thompson <dougthompson@xmission.com>2007-07-19 01:50:19 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-19 10:04:55 -0700
commitf044091ca4c0b05be8f83748d76d4fbba4fc74cf (patch)
tree0ceb7dabbddce313917ff5b7d15e72aed231859a /drivers/edac/edac_pci_sysfs.c
parent977c76bd687585f4528c6c9c6966842955771f52 (diff)
downloadop-kernel-dev-f044091ca4c0b05be8f83748d76d4fbba4fc74cf.zip
op-kernel-dev-f044091ca4c0b05be8f83748d76d4fbba4fc74cf.tar.gz
drivers/edac: remove null from statics
Patches to conform to coding style, namely static don't need to be initialized to NULL nor '0', as that is the default Signed-off-by: Douglas Thompson <dougthompson@xmission.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/edac/edac_pci_sysfs.c')
-rw-r--r--drivers/edac/edac_pci_sysfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/edac/edac_pci_sysfs.c b/drivers/edac/edac_pci_sysfs.c
index 804833c..fac94ca 100644
--- a/drivers/edac/edac_pci_sysfs.c
+++ b/drivers/edac/edac_pci_sysfs.c
@@ -17,8 +17,8 @@
#define EDAC_PCI_SYMLINK "device"
-static int check_pci_errors = 0; /* default YES check PCI parity */
-static int edac_pci_panic_on_pe = 0; /* default no panic on PCI Parity */
+static int check_pci_errors; /* default YES check PCI parity */
+static int edac_pci_panic_on_pe; /* default no panic on PCI Parity */
static int edac_pci_log_pe = 1; /* log PCI parity errors */
static int edac_pci_log_npe = 1; /* log PCI non-parity error errors */
static atomic_t pci_parity_count = ATOMIC_INIT(0);
OpenPOWER on IntegriCloud