]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/net/wireless/ath/ath5k/base.c
ath5k: remove double cache alignment, ath_rxbuf_alloc() already does it
[karo-tx-linux.git] / drivers / net / wireless / ath / ath5k / base.c
index f1a7c77c0f8d39adb36c5908a701c7a3dfb6e473..4cefd9e85dd4da8f15b9971e7ef3a164e9e61a66 100644 (file)
@@ -1184,12 +1184,12 @@ struct sk_buff *ath5k_rx_skb_alloc(struct ath5k_softc *sc, dma_addr_t *skb_addr)
         * fake physical layer header at the start.
         */
        skb = ath_rxbuf_alloc(common,
-                             common->rx_bufsize + common->cachelsz - 1,
+                             common->rx_bufsize,
                              GFP_ATOMIC);
 
        if (!skb) {
                ATH5K_ERR(sc, "can't alloc skbuff of size %u\n",
-                               common->rx_bufsize + common->cachelsz - 1);
+                               common->rx_bufsize);
                return NULL;
        }