Commit f044091ca4c0b05be8f83748d76d4fbba4fc74cf
Committed by
Linus Torvalds
1 parent
977c76bd68
Exists in
master
and in
4 other branches
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>
Showing 8 changed files with 9 additions and 9 deletions Side-by-side Diff
drivers/edac/edac_mc_sysfs.c
... | ... | @@ -17,7 +17,7 @@ |
17 | 17 | /* MC EDAC Controls, setable by module parameter, and sysfs */ |
18 | 18 | static int edac_mc_log_ue = 1; |
19 | 19 | static int edac_mc_log_ce = 1; |
20 | -static int edac_mc_panic_on_ue = 0; | |
20 | +static int edac_mc_panic_on_ue; | |
21 | 21 | static int edac_mc_poll_msec = 1000; |
22 | 22 | |
23 | 23 | /* Getter functions for above */ |
drivers/edac/edac_module.c
drivers/edac/edac_pci.c
drivers/edac/edac_pci_sysfs.c
... | ... | @@ -17,8 +17,8 @@ |
17 | 17 | |
18 | 18 | #define EDAC_PCI_SYMLINK "device" |
19 | 19 | |
20 | -static int check_pci_errors = 0; /* default YES check PCI parity */ | |
21 | -static int edac_pci_panic_on_pe = 0; /* default no panic on PCI Parity */ | |
20 | +static int check_pci_errors; /* default YES check PCI parity */ | |
21 | +static int edac_pci_panic_on_pe; /* default no panic on PCI Parity */ | |
22 | 22 | static int edac_pci_log_pe = 1; /* log PCI parity errors */ |
23 | 23 | static int edac_pci_log_npe = 1; /* log PCI non-parity error errors */ |
24 | 24 | static atomic_t pci_parity_count = ATOMIC_INIT(0); |
drivers/edac/i3000_edac.c
drivers/edac/i82860_edac.c
... | ... | @@ -57,7 +57,7 @@ |
57 | 57 | .ctl_name = "i82860"}, |
58 | 58 | }; |
59 | 59 | |
60 | -static struct pci_dev *mci_pdev = NULL; /* init dev: in case that AGP code | |
60 | +static struct pci_dev *mci_pdev; /* init dev: in case that AGP code | |
61 | 61 | * has already registered driver |
62 | 62 | */ |
63 | 63 | static struct edac_pci_ctl_info *i82860_pci; |
drivers/edac/i82875p_edac.c