net: remove NR_CPUS arrays in net/core/dev.c
authorMike Travis <travis@sgi.com>
Fri, 2 May 2008 23:43:08 +0000 (16:43 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 May 2008 23:43:08 +0000 (16:43 -0700)
Remove the fixed size channels[NR_CPUS] array in net/core/dev.c and
dynamically allocate array based on nr_cpu_ids.

Signed-off-by: Mike Travis <travis@sgi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c

diff --cc net/core/dev.c
Simple merge