]> Git Repo - qemu.git/commitdiff
vmxnet: Remove unused function vmxnet_rx_pkt_get_num_frags()
authorThomas Huth <[email protected]>
Sat, 14 Mar 2015 06:19:29 +0000 (07:19 +0100)
committerMichael Tokarev <[email protected]>
Thu, 30 Apr 2015 13:05:48 +0000 (16:05 +0300)
The function is not used anymore and thus can be deleted.

Signed-off-by: Thomas Huth <[email protected]>
Cc: Dmitry Fleytman <[email protected]>
Signed-off-by: Michael Tokarev <[email protected]>
hw/net/vmxnet_rx_pkt.c
hw/net/vmxnet_rx_pkt.h

index a40e346293ab9177378b74cd53276a795a42eb1f..acbca6a3dbe4ff001847e007e169711c3703aed9 100644 (file)
@@ -172,13 +172,6 @@ bool vmxnet_rx_pkt_has_virt_hdr(struct VmxnetRxPkt *pkt)
     return pkt->has_virt_hdr;
 }
 
-uint16_t vmxnet_rx_pkt_get_num_frags(struct VmxnetRxPkt *pkt)
-{
-    assert(pkt);
-
-    return pkt->vec_len;
-}
-
 uint16_t vmxnet_rx_pkt_get_vlan_tag(struct VmxnetRxPkt *pkt)
 {
     assert(pkt);
index 6b2c60ef108937bb5fb7292d1bafba53b9fdc2c7..5f8352a468c23e353c1a017ff70ec3a738aea512 100644 (file)
@@ -113,15 +113,6 @@ bool vmxnet_rx_pkt_is_vlan_stripped(struct VmxnetRxPkt *pkt);
  */
 bool vmxnet_rx_pkt_has_virt_hdr(struct VmxnetRxPkt *pkt);
 
-/**
- * returns number of frags attached to the packet
- *
- * @pkt:            packet
- * @ret:            number of frags
- *
- */
-uint16_t vmxnet_rx_pkt_get_num_frags(struct VmxnetRxPkt *pkt);
-
 /**
  * attach data to rx packet
  *
This page took 0.027787 seconds and 4 git commands to generate.