remove unnecessary loop.
Merge pull request #20 from hansode/packet-counter

remove unnecessary loop.