Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F146004511
D7706.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D7706.id.diff
View Options
Index: head/sys/dev/hyperv/netvsc/hv_rndis.h
===================================================================
--- head/sys/dev/hyperv/netvsc/hv_rndis.h
+++ head/sys/dev/hyperv/netvsc/hv_rndis.h
@@ -904,7 +904,5 @@
uint32_t rppi_size,
int pkt_type);
-void* hv_get_ppi_data(rndis_packet *rpkt, uint32_t type);
-
#endif /* __HV_RNDIS_H__ */
Index: head/sys/dev/hyperv/netvsc/hv_rndis_filter.c
===================================================================
--- head/sys/dev/hyperv/netvsc/hv_rndis_filter.c
+++ head/sys/dev/hyperv/netvsc/hv_rndis_filter.c
@@ -128,35 +128,6 @@
}
/*
- * Get the Per-Packet-Info with the specified type
- * return NULL if not found.
- */
-void *
-hv_get_ppi_data(rndis_packet *rpkt, uint32_t type)
-{
- rndis_per_packet_info *ppi;
- int len;
-
- if (rpkt->per_pkt_info_offset == 0)
- return (NULL);
-
- ppi = (rndis_per_packet_info *)((unsigned long)rpkt +
- rpkt->per_pkt_info_offset);
- len = rpkt->per_pkt_info_length;
-
- while (len > 0) {
- if (ppi->type == type)
- return (void *)((unsigned long)ppi +
- ppi->per_packet_info_offset);
-
- len -= ppi->size;
- ppi = (rndis_per_packet_info *)((unsigned long)ppi + ppi->size);
- }
-
- return (NULL);
-}
-
-/*
* RNDIS filter receive indicate status
*/
static void
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Feb 27, 10:54 PM (10 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29044027
Default Alt Text
D7706.id.diff (1 KB)
Attached To
Mode
D7706: hyperv/hn: Remove unused function
Attached
Detach File
Event Timeline
Log In to Comment