From: Jes Sorensen <jes@wildopensource.com>
To: linux-ia64@vger.kernel.org
Subject: [Linux-ia64] 2.5.72 bss initializers
Date: Mon, 23 Jun 2003 14:15:03 +0000 [thread overview]
Message-ID: <marc-linux-ia64-105637930631805@msgid-missing> (raw)
Hi,
No need to explicitly zero out global pointers in efi.c and efivars.c
Cheers,
Jes
--- arch/ia64/kernel/efi.c~ Mon Jun 16 21:19:39 2003
+++ arch/ia64/kernel/efi.c Mon Jun 23 07:08:53 2003
@@ -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;
--- arch/ia64/kernel/efivars.c~ Mon Jun 16 21:20:01 2003
+++ arch/ia64/kernel/efivars.c Mon Jun 23 07:09:40 2003
@@ -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
Linux-IA64@linuxia64.org
http://lists.linuxia64.org/lists/listinfo/linux-ia64
next reply other threads:[~2003-06-23 14:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-23 14:15 Jes Sorensen [this message]
2003-06-23 18:54 ` [Linux-ia64] 2.5.72 bss initializers David Mosberger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-linux-ia64-105637930631805@msgid-missing \
--to=jes@wildopensource.com \
--cc=linux-ia64@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox