net/pcap: remove redundant declaration