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 4c43301a..600af4aa 100644
--- a/pcap-linux.c
+++ b/pcap-linux.c
@@ -2981,8 +2981,6 @@ pcap_setfilter_linux(pcap_t *handle, struct bpf_program *filter)
static int
pcap_setdirection_linux(pcap_t *handle, pcap_direction_t d)
{
- struct pcap_linux *handlep = handle->priv;
-
handle->direction = d;
return 0;
}