projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
edac: use the shorter LIST_HEAD for brevity
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
edac
/
edac_mc.c
diff --git
a/drivers/edac/edac_mc.c
b/drivers/edac/edac_mc.c
index 063a1bffe38b026ba7005ee0b105a4e956baf6e9..9cd778f920a4055becd5302913f44987e61626e5 100644
(file)
--- a/
drivers/edac/edac_mc.c
+++ b/
drivers/edac/edac_mc.c
@@
-36,7
+36,7
@@
/* lock to memory controller's control array */
static DEFINE_MUTEX(mem_ctls_mutex);
/* lock to memory controller's control array */
static DEFINE_MUTEX(mem_ctls_mutex);
-static
struct list_head mc_devices = LIST_HEAD_INIT
(mc_devices);
+static
LIST_HEAD
(mc_devices);
#ifdef CONFIG_EDAC_DEBUG
#ifdef CONFIG_EDAC_DEBUG