forked from Imagelibrary/rtems
libchip/display/disp_hcms29xx.c: Remove useless variable and check
This was flagged by CodeSonar.
This commit is contained in:
committed by
Joel Sherrill
parent
61f8d668d0
commit
0ad1e8001f
@@ -514,14 +514,9 @@ static rtems_timer_service_routine disp_hcms29xx_timer_sr
|
|||||||
| <none used> |
|
| <none used> |
|
||||||
\*=========================================================================*/
|
\*=========================================================================*/
|
||||||
{
|
{
|
||||||
rtems_status_code rc = RTEMS_SUCCESSFUL;
|
|
||||||
disp_hcms29xx_drv_t *softc_ptr = arg;
|
disp_hcms29xx_drv_t *softc_ptr = arg;
|
||||||
|
|
||||||
|
rtems_event_send(softc_ptr->disp_param.task_id, DISP_HCMS29XX_EVENT_TIMER);
|
||||||
if (rc == RTEMS_SUCCESSFUL) {
|
|
||||||
rc = rtems_event_send(softc_ptr->disp_param.task_id,
|
|
||||||
DISP_HCMS29XX_EVENT_TIMER);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*=========================================================================*\
|
/*=========================================================================*\
|
||||||
|
|||||||
Reference in New Issue
Block a user