}\r
\r
/* Get pointer to the output frame info struct for convenience */\r
- Ethernet_Frame_Info_t* FrameOUT = (Ethernet_Frame_Info_t*)&RNDISInterfaceInfo->State.FrameOUT;\r
+ Ethernet_Frame_Info_t* FrameOUT = &RNDISInterfaceInfo->State.FrameOUT;\r
\r
/* Bail out early if there is already a frame waiting to be sent in the Ethernet OUT buffer */\r
if (FrameOUT->FrameInBuffer)\r