Remove dead code and test forpkt is null

Signed-off-by: Keith Wiles <keith.wiles@windriver.com>