networking: make skb_push & __skb_push return void pointers
[linux-2.6-block.git] / drivers / net / wireless / st / cw1200 / txrx.c
index cd63ffef025af52d666861c53e7c8d9f353e9778..e9050b41157a846d22948d4daa168b9e898d6960 100644 (file)
@@ -574,7 +574,7 @@ cw1200_tx_h_wsm(struct cw1200_common *priv,
                return NULL;
        }
 
-       wsm = (struct wsm_tx *)skb_push(t->skb, sizeof(struct wsm_tx));
+       wsm = skb_push(t->skb, sizeof(struct wsm_tx));
        t->txpriv.offset += sizeof(struct wsm_tx);
        memset(wsm, 0, sizeof(*wsm));
        wsm->hdr.len = __cpu_to_le16(t->skb->len);