Merge "lmkd: Remove unnecessary conditional"

am: 6b0e789a21

Change-Id: Iaa24b3f79aa09fa3957c91b55a28c170196afd50
This commit is contained in:
Greg Kaiser 2019-10-11 07:46:38 -07:00 committed by android-build-merger
commit 352e1d9575
1 changed files with 1 additions and 3 deletions

4
lmkd.c
View File

@ -2743,9 +2743,7 @@ static void call_handler(struct event_handler_info* handler_info,
* at one per sec. * at one per sec.
*/ */
poll_params->poll_start_tm = curr_tm; poll_params->poll_start_tm = curr_tm;
if (poll_params->poll_handler != handler_info) { poll_params->poll_handler = handler_info;
poll_params->poll_handler = handler_info;
}
break; break;
case POLLING_STOP: case POLLING_STOP:
poll_params->poll_handler = NULL; poll_params->poll_handler = NULL;