Remove useless function
Remove validateConfig function which is now useless