Remove needless function definition