diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2009-09-16 20:25:07 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2009-09-17 14:07:51 -0400 |
commit | 982f6ffeeed5ef6104cfd72e517ff9e7a9270fda (patch) | |
tree | cfe3546c4983d29deb1794890dcfd26ea480296a /arch/mips/nxp | |
parent | 2882b0c63ac6085fd5c18959240b6f7d6ffb8d5b (diff) |
MIPS: Remove useless zero initializations.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/nxp')
-rw-r--r-- | arch/mips/nxp/pnx833x/stb22x/board.c | 2 | ||||
-rw-r--r-- | arch/mips/nxp/pnx8550/common/proc.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/arch/mips/nxp/pnx833x/stb22x/board.c b/arch/mips/nxp/pnx833x/stb22x/board.c index 90cc604bdadf..644eb7c3210f 100644 --- a/arch/mips/nxp/pnx833x/stb22x/board.c +++ b/arch/mips/nxp/pnx833x/stb22x/board.c | |||
@@ -39,7 +39,7 @@ | |||
39 | #define PNX8335_DEBUG7 0x441c | 39 | #define PNX8335_DEBUG7 0x441c |
40 | 40 | ||
41 | int prom_argc; | 41 | int prom_argc; |
42 | char **prom_argv = 0, **prom_envp = 0; | 42 | char **prom_argv, **prom_envp; |
43 | 43 | ||
44 | extern void prom_init_cmdline(void); | 44 | extern void prom_init_cmdline(void); |
45 | extern char *prom_getenv(char *envname); | 45 | extern char *prom_getenv(char *envname); |
diff --git a/arch/mips/nxp/pnx8550/common/proc.c b/arch/mips/nxp/pnx8550/common/proc.c index acf1fa889444..af094cd1d85b 100644 --- a/arch/mips/nxp/pnx8550/common/proc.c +++ b/arch/mips/nxp/pnx8550/common/proc.c | |||
@@ -69,9 +69,9 @@ static int pnx8550_registers_read(char* page, char** start, off_t offset, int co | |||
69 | return len; | 69 | return len; |
70 | } | 70 | } |
71 | 71 | ||
72 | static struct proc_dir_entry* pnx8550_dir = NULL; | 72 | static struct proc_dir_entry* pnx8550_dir; |
73 | static struct proc_dir_entry* pnx8550_timers = NULL; | 73 | static struct proc_dir_entry* pnx8550_timers; |
74 | static struct proc_dir_entry* pnx8550_registers = NULL; | 74 | static struct proc_dir_entry* pnx8550_registers; |
75 | 75 | ||
76 | static int pnx8550_proc_init( void ) | 76 | static int pnx8550_proc_init( void ) |
77 | { | 77 | { |