admac_status = ADMAC.ADMATE0.BYTE;
ADMAC.ADMATE0.BYTE = (U8)~(HWI_SPI_ADMAC_RSPIB_MASK);
(void)ADMAC.ADMATE0.BYTE;

what is the need for the void typecasting ?