Removed unused static functions

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>