_rtw_init_queue23a(&pxmitpriv->free_xmit_queue);
for (i = 0; i < NR_XMITFRAME; i++) {
- pxframe = (struct xmit_frame *)
- kzalloc(sizeof(struct xmit_frame), GFP_KERNEL);
+ pxframe = kzalloc(sizeof(struct xmit_frame), GFP_KERNEL);
if (!pxframe)
break;
INIT_LIST_HEAD(&pxframe->list);
_rtw_init_queue23a(&pxmitpriv->free_xframe_ext_queue);
for (i = 0; i < num_xmit_extbuf; i++) {
- pxframe = (struct xmit_frame *)
- kzalloc(sizeof(struct xmit_frame), GFP_KERNEL);
+ pxframe = kzalloc(sizeof(struct xmit_frame), GFP_KERNEL);
if (!pxframe)
break;
INIT_LIST_HEAD(&pxframe->list);