Remove else after a return in packet code