From 30bca3270b9aba3394363a7fbb81291c9b0bb898 Mon Sep 17 00:00:00 2001 From: Tamir Duberstein Date: Fri, 28 May 2021 08:04:11 -0700 Subject: Clean up warnings - Typos - Unused arguments - Useless conversions PiperOrigin-RevId: 376362730 --- pkg/tcpip/network/arp/arp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/tcpip/network/arp') diff --git a/pkg/tcpip/network/arp/arp.go b/pkg/tcpip/network/arp/arp.go index 0efa3a926..6515c31e5 100644 --- a/pkg/tcpip/network/arp/arp.go +++ b/pkg/tcpip/network/arp/arp.go @@ -278,7 +278,7 @@ func (*protocol) ParseAddresses(buffer.View) (src, dst tcpip.Address) { return "", "" } -func (p *protocol) NewEndpoint(nic stack.NetworkInterface, dispatcher stack.TransportDispatcher) stack.NetworkEndpoint { +func (p *protocol) NewEndpoint(nic stack.NetworkInterface, _ stack.TransportDispatcher) stack.NetworkEndpoint { e := &endpoint{ protocol: p, nic: nic, -- cgit v1.2.3