pktgen: refactor pg_init() code
authorWANG Cong <xiyou.wangcong@gmail.com>
Sun, 22 May 2011 00:52:08 +0000 (00:52 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 23 May 2011 01:01:22 +0000 (21:01 -0400)
This also shrinks the object size a little.

   text    data     bss     dec     hex filename
  28834     186       8   29028    7164 net/core/pktgen.o
  28816     186       8   29010    7152 net/core/pktgen.o.AFTER

Signed-off-by: WANG Cong <xiyou.wangcong@gmail.com>
Cc: "David Miller" <davem@davemloft.net>,
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found