Remove obsolete assert
Merge pull request #6745 from wmtan/RemoveAssert

Remove obsolete assert