Remove useless statements