net pkgen.c:fix no need for check
authorFigo.zhang <figo1802@gmail.com>
Mon, 8 Jun 2009 07:40:35 +0000 (00:40 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Jun 2009 07:40:35 +0000 (00:40 -0700)
commit1d0ebfe7c9621d43804e9ce9f2b898541a7d9652
treeb13375888879581888bc4d773adcc55bf7d1e6ca
parenta5b19b635c39fdb819500b0a746b44fe40c9a303
net pkgen.c:fix no need for check

vfree() does its own 'NULL' check, so no need for check before
calling it.

Signed-off-by: Figo.zhang <figo1802@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/pktgen.c