Remove ununsed code