Delete useless function f