[lint] remove obsolete maxdelay in setDelay(). pep8 changes

Change-Id: I784e8376924bd72b1ba33f97de1fa2bfd99ef702