[PATCH 6/8] packet.c: getpacket(): remove unnecessary assignment