* [PATCH]: sgiserial 3/7: globals are 0 initialized by default
@ 2003-03-27 2:54 Juan Quintela
0 siblings, 0 replies; only message in thread
From: Juan Quintela @ 2003-03-27 2:54 UTC (permalink / raw)
To: Ralf Baechle, mipslist
Hi
globals are already zero initialized.
build/drivers/sgi/char/sgiserial.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff -puN build/drivers/sgi/char/sgiserial.c~sgiserial_zero_initialize build/drivers/sgi/char/sgiserial.c
--- 24/build/drivers/sgi/char/sgiserial.c~sgiserial_zero_initialize 2003-03-22 01:57:47.000000000 +0100
+++ 24-quintela/build/drivers/sgi/char/sgiserial.c 2003-03-22 01:58:00.000000000 +0100
@@ -49,8 +49,8 @@
#define NUM_SERIAL 1 /* One chip on board. */
#define NUM_CHANNELS (NUM_SERIAL * 2)
-struct sgi_zslayout *zs_chips[NUM_SERIAL] = { 0, };
-struct sgi_zschannel *zs_channels[NUM_CHANNELS] = { 0, 0, };
+struct sgi_zslayout *zs_chips[NUM_SERIAL];
+struct sgi_zschannel *zs_channels[NUM_CHANNELS];
struct sgi_zschannel *zs_conschan;
struct sgi_zschannel *zs_kgdbchan;
_
--
In theory, practice and theory are the same, but in practice they
are different -- Larry McVoy
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-03-27 2:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-27 2:54 [PATCH]: sgiserial 3/7: globals are 0 initialized by default Juan Quintela
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.