Skip to contentSkip to conversation

2.5.72 bss initializers

Linux-ia64 Jes Sorensen 2 participants 2 messages Jun 23, 2003

lore
Share & tools
lore
#0 lore raw

Hi,

No need to explicitly zero out global pointers in efi.c and efivars.c

Cheers,
Jes

ia64/kernel/efi.c renamed from ia64/kernel/efi.c~ +1 -1
@@ -46,7 +46,7 @@
  * prior to creating their own entries under /proc/efi.
  */
 #ifdef CONFIG_PROC_FS
-struct proc_dir_entry *efi_dir = NULL;
+struct proc_dir_entry *efi_dir;
 #endif
 
 static unsigned long mem_limit = ~0UL;
ia64/kernel/efivars.c renamed from ia64/kernel/efivars.c~ +1 -1
@@ -119,7 +119,7 @@
 */
 static spinlock_t efivars_lock = SPIN_LOCK_UNLOCKED;
 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)
 

_______________________________________________
Linux-IA64 mailing list
[email protected]
http://lists.linuxia64.org/lists/listinfo/linux-ia64