rtp.c remove unused variables