summaryrefslogtreecommitdiffstats
path: root/sound/core/info.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2006-05-17 17:14:51 +0200
committerJaroslav Kysela <perex@suse.cz>2006-06-22 21:33:45 +0200
commit6581f4e74d8541dd7d579f64e94822622cbb1654 (patch)
treefa7a0609c7a3e0460e052ab54a06a6fa935c64dc /sound/core/info.c
parent0fbf405c583e6ee6d7227eb938a096d0998f7e78 (diff)
downloadop-kernel-dev-6581f4e74d8541dd7d579f64e94822622cbb1654.zip
op-kernel-dev-6581f4e74d8541dd7d579f64e94822622cbb1654.tar.gz
[ALSA] Remove zero-initialization of static variables
Removed zero-initializations of static variables. A tiny optimization. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core/info.c')
-rw-r--r--sound/core/info.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sound/core/info.c b/sound/core/info.c
index c8eeaea..10c1772 100644
--- a/sound/core/info.c
+++ b/sound/core/info.c
@@ -143,12 +143,12 @@ EXPORT_SYMBOL(snd_iprintf);
*/
-static struct proc_dir_entry *snd_proc_root = NULL;
-struct snd_info_entry *snd_seq_root = NULL;
+static struct proc_dir_entry *snd_proc_root;
+struct snd_info_entry *snd_seq_root;
EXPORT_SYMBOL(snd_seq_root);
#ifdef CONFIG_SND_OSSEMUL
-struct snd_info_entry *snd_oss_root = NULL;
+struct snd_info_entry *snd_oss_root;
#endif
static inline void snd_info_entry_prepare(struct proc_dir_entry *de)
@@ -972,7 +972,7 @@ EXPORT_SYMBOL(snd_info_unregister);
*/
-static struct snd_info_entry *snd_info_version_entry = NULL;
+static struct snd_info_entry *snd_info_version_entry;
static void snd_info_version_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer)
{
OpenPOWER on IntegriCloud