Merge "lmkd: Remove unnecessary conditional"

This commit is contained in:
Treehugger Robot 2019-10-11 14:30:00 +00:00 committed by Gerrit Code Review
commit 6b0e789a21
1 changed files with 1 additions and 3 deletions

View File

@ -2743,9 +2743,7 @@ static void call_handler(struct event_handler_info* handler_info,
* at one per sec.
*/
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;
case POLLING_STOP:
poll_params->poll_handler = NULL;