commit | 1c9515f8ab0d387911544bb5f7049942291f6cc4 | [log] [tgz] |
---|---|---|
author | William A. Kennington III <wak@google.com> | Tue Feb 27 18:54:36 2018 -0800 |
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | Wed Mar 07 11:16:00 2018 +0000 |
tree | 605a65525d8214840e24e6190c052300518cf8b4 | |
parent | ab17520b8558d2e83aea5162124a6379418ec32a [diff] |
watchdog: timeRemaining doesn't need to check enabled The Timer is fully owned by the Watchdog and is only enabled when the watchdog is enabled. Therefore, we only need to check the state of the timer instead of the interface and timer before populating the timeRemaining value. This simplifies later patches and does not make any functional change. Change-Id: Ib11edd75eb1953360bf4eae7fc4b29b5251cf0c5 Signed-off-by: William A. Kennington III <wak@google.com>