]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c
networking: make skb_put & friends return void pointers
[mirror_ubuntu-artful-kernel.git] / drivers / net / ethernet / intel / ixgbe / ixgbe_fcoe.c
index 2a653ec954f53450be9a97ccac536f90c70bc802..a23c2b5411a0ac70c4b3a12aef316c74b0b860a8 100644 (file)
@@ -491,7 +491,7 @@ int ixgbe_fcoe_ddp(struct ixgbe_adapter *adapter,
        if ((fh->fh_r_ctl == FC_RCTL_DD_SOL_DATA) &&
            (fctl & FC_FC_END_SEQ)) {
                skb_linearize(skb);
-               crc = (struct fcoe_crc_eof *)skb_put(skb, sizeof(*crc));
+               crc = skb_put(skb, sizeof(*crc));
                crc->fcoe_eof = FC_EOF_T;
        }