Commit ff6ac2a6 authored by Robert P. J. Day's avatar Robert P. J. Day Committed by Linus Torvalds

edac: use the shorter LIST_HEAD for brevity

Signed-off-by: default avatarRobert P. J. Day <rpjday@crashcourse.ca>
Acked-by: default avatarDoug Thompson <norsk5@yahoo.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 94ee1cf5
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
* is protected by the 'device_ctls_mutex' lock * is protected by the 'device_ctls_mutex' lock
*/ */
static DEFINE_MUTEX(device_ctls_mutex); static DEFINE_MUTEX(device_ctls_mutex);
static struct list_head edac_device_list = LIST_HEAD_INIT(edac_device_list); static LIST_HEAD(edac_device_list);
#ifdef CONFIG_EDAC_DEBUG #ifdef CONFIG_EDAC_DEBUG
static void edac_device_dump_device(struct edac_device_ctl_info *edac_dev) static void edac_device_dump_device(struct edac_device_ctl_info *edac_dev)
......
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
/* lock to memory controller's control array */ /* lock to memory controller's control array */
static DEFINE_MUTEX(mem_ctls_mutex); 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
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
#include "edac_module.h" #include "edac_module.h"
static DEFINE_MUTEX(edac_pci_ctls_mutex); static DEFINE_MUTEX(edac_pci_ctls_mutex);
static struct list_head edac_pci_list = LIST_HEAD_INIT(edac_pci_list); static LIST_HEAD(edac_pci_list);
/* /*
* edac_pci_alloc_ctl_info * edac_pci_alloc_ctl_info
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment