aboutsummaryrefslogtreecommitdiff
path: root/pcap-linux.c
diff options
context:
space:
mode:
Diffstat (limited to 'pcap-linux.c')
-rw-r--r--pcap-linux.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/pcap-linux.c b/pcap-linux.c
index 69097ac7..6c0723ab 100644
--- a/pcap-linux.c
+++ b/pcap-linux.c
@@ -2604,8 +2604,6 @@ map_packet_type_to_sll_type(short int sll_pkttype)
*/
static void map_arphrd_to_dlt(pcap_t *handle, int arptype, int cooked_ok)
{
- struct pcap_linux *handlep = handle->priv;
-
switch (arptype) {
case ARPHRD_ETHER: