Retired a useless part of a function.