Remove useless subfunction