Remove Sequential.model deprecation warning (#10256)
Remove Sequential.model deprecation warning (#10256)

* Remove Sequential.model deprecation warning

* Remove dead line of code

keras-team/keras,keras-team/keras