]> git.baikalelectronics.ru Git - kernel.git/commit
[PKTGEN]: Deinitialise static variables.
authorJaco Kroon <jaco@kroon.co.za>
Thu, 22 Dec 2005 20:51:46 +0000 (12:51 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Tue, 3 Jan 2006 21:11:16 +0000 (13:11 -0800)
commit2b2d2d503b6f39bb4b6a330758ea5d396293c0a8
tree97762c7bec22dd48cdea39f0a43bdadf663b509e
parent0a948561d7e634b4bfe49644a4f71c3cdf676fdf
[PKTGEN]: Deinitialise static variables.

static variables should not be explicitly initialised to 0.  This causes
them to be placed in .data instead of .bss.  This patch de-initialises 3
static variables in net/core/pktgen.c.

There are approximately 800 more such variables in the source tree
(2.6.15rc5).  If there is more interrest I'd be willing to track down the
rest of these as well and de-initialise them as well.

Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/pktgen.c