Re: [PATCH 7/32] rt2x00: make vals static

2006-04-28 Thread Ivo van Doorn
On Friday 28 April 2006 13:26, Ingo Oeser wrote: > Sie schrieben: > > From: Ivo van Doorn <[EMAIL PROTECTED]> > > > > The vals[] arrays in *_init_hw_channels can be made > > static to optimize memory and reduce stack size. > > What about static const? They are also constants, right? > But please

Re: [PATCH 7/32] rt2x00: make vals static

2006-04-28 Thread Ingo Oeser
Sie schrieben: > From: Ivo van Doorn <[EMAIL PROTECTED]> > > The vals[] arrays in *_init_hw_channels can be made > static to optimize memory and reduce stack size. What about static const? They are also constants, right? But please try first, if this helps in terms of code size. Regards Ingo Oe

[PATCH 7/32] rt2x00: make vals static

2006-04-27 Thread Ivo van Doorn
From: Ivo van Doorn <[EMAIL PROTECTED]> The vals[] arrays in *_init_hw_channels can be made static to optimize memory and reduce stack size. Signed-off-by: Ivo van Doorn <[EMAIL PROTECTED]> diff -uprN wireless-dev-rt2x00/drivers/net/wireless/d80211/rt2x00/rt2400pci.c wireless-dev-rt2x00-patch/d