diff --git a/os/sb/host/sb.h b/os/sb/host/sb.h index 9ce716540..14885e728 100644 --- a/os/sb/host/sb.h +++ b/os/sb/host/sb.h @@ -325,14 +325,6 @@ struct sb_class { * @brief Reference to sh SB thread while waiting for VRQs. */ thread_reference_t vrq_trp; - /** - * @brief NVIC ISER to be updated on VRQ exit or NULL. - */ - uint32_t *vrq_nvic_iser; - /** - * @brief NVIC ISER mask to be applied on VRQ exit. - */ - uint32_t vrq_nvic_mask; #endif #if (SB_CFG_ENABLE_VFS == TRUE) || defined(__DOXYGEN__) /** diff --git a/os/sb/host/sbvrq.c b/os/sb/host/sbvrq.c index c8cc2bfeb..45ca933b8 100644 --- a/os/sb/host/sbvrq.c +++ b/os/sb/host/sbvrq.c @@ -365,11 +365,6 @@ void sb_fastc_vrq_return(struct port_extctx *ectxp) { sb_class_t *sbp = (sb_class_t *)chThdGetSelfX()->ctx.syscall.p; sb_vrqmask_t active_mask; - /* Checking if there are IRQs to be re-enabled on VRQ exit.*/ - if (sbp->vrq_nvic_iser != NULL) { - *sbp->vrq_nvic_iser = sbp->vrq_nvic_mask; - } - /* Discarding the return current context, returning on the previous one. TODO: Check for overflows????*/ ectxp++;