mirror of https://github.com/xqemu/xqemu.git
vmxnet: Remove unused function vmxnet_rx_pkt_get_num_frags()
The function is not used anymore and thus can be deleted. Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com> Cc: Dmitry Fleytman <dmitry@daynix.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
parent
825976153e
commit
9dcfda1298
|
@ -172,13 +172,6 @@ bool vmxnet_rx_pkt_has_virt_hdr(struct VmxnetRxPkt *pkt)
|
||||||
return pkt->has_virt_hdr;
|
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)
|
uint16_t vmxnet_rx_pkt_get_vlan_tag(struct VmxnetRxPkt *pkt)
|
||||||
{
|
{
|
||||||
assert(pkt);
|
assert(pkt);
|
||||||
|
|
|
@ -113,15 +113,6 @@ bool vmxnet_rx_pkt_is_vlan_stripped(struct VmxnetRxPkt *pkt);
|
||||||
*/
|
*/
|
||||||
bool vmxnet_rx_pkt_has_virt_hdr(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
|
* attach data to rx packet
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue