Remove useless assert.