Commit 819a8739 authored by Jes Sorensen's avatar Jes Sorensen Committed by David Mosberger

[PATCH] ia64: fix static initializers

No need to explicitly zero out global variables.
parent e9d78a68
...@@ -46,7 +46,7 @@ static efi_runtime_services_t *runtime; ...@@ -46,7 +46,7 @@ static efi_runtime_services_t *runtime;
* prior to creating their own entries under /proc/efi. * prior to creating their own entries under /proc/efi.
*/ */
#ifdef CONFIG_PROC_FS #ifdef CONFIG_PROC_FS
struct proc_dir_entry *efi_dir = NULL; struct proc_dir_entry *efi_dir;
#endif #endif
static unsigned long mem_limit = ~0UL; static unsigned long mem_limit = ~0UL;
......
...@@ -119,7 +119,7 @@ typedef struct _efivar_entry_t { ...@@ -119,7 +119,7 @@ typedef struct _efivar_entry_t {
*/ */
static spinlock_t efivars_lock = SPIN_LOCK_UNLOCKED; static spinlock_t efivars_lock = SPIN_LOCK_UNLOCKED;
static LIST_HEAD(efivar_list); static LIST_HEAD(efivar_list);
static struct proc_dir_entry *efi_vars_dir = NULL; static struct proc_dir_entry *efi_vars_dir;
#define efivar_entry(n) list_entry(n, efivar_entry_t, list) #define efivar_entry(n) list_entry(n, efivar_entry_t, list)
......
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