From a05ee98d49977ec112a64daf48cb7b83da21de0e Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Sat, 13 Jul 2013 17:46:37 +0200 Subject: pcap_io: Remove unused parameter sll from pcap_pkthdr_to_tpacket_hdr() The sll parameter is not used anywhere in the function, so remove it. Signed-off-by: Tobias Klauser --- pcap_io.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'pcap_io.h') diff --git a/pcap_io.h b/pcap_io.h index 31685b4..b53dcb2 100644 --- a/pcap_io.h +++ b/pcap_io.h @@ -450,8 +450,7 @@ static inline void tpacket3_hdr_to_pcap_pkthdr(struct tpacket3_hdr *thdr, static inline void pcap_pkthdr_to_tpacket_hdr(pcap_pkthdr_t *phdr, enum pcap_type type, - struct tpacket2_hdr *thdr, - struct sockaddr_ll *sll) + struct tpacket2_hdr *thdr) { switch (type) { case DEFAULT: -- cgit v1.2.3-54-g00ecf