summaryrefslogtreecommitdiffstats
path: root/babeld/kernel.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-12-05 01:29:42 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-12-05 03:28:19 +0100
commitedb1d4a09acdf27c04ce27adf1b06e4faa86454a (patch)
treeb0e94b44fe0d8b62cee3924b84d694409eaac78c /babeld/kernel.c
parentMerge pull request #1518 from opensourcerouting/clippy-issues (diff)
downloadfrr-edb1d4a09acdf27c04ce27adf1b06e4faa86454a.tar.xz
frr-edb1d4a09acdf27c04ce27adf1b06e4faa86454a.zip
babeld: if_eui64 never uses ifname
Remove this variable. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'babeld/kernel.c')
-rw-r--r--babeld/kernel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/babeld/kernel.c b/babeld/kernel.c
index 3343ca2e9..8c4fc953e 100644
--- a/babeld/kernel.c
+++ b/babeld/kernel.c
@@ -203,7 +203,7 @@ zebra_route(int add, int family, const unsigned char *pref, unsigned short plen,
}
int
-if_eui64(char *ifname, int ifindex, unsigned char *eui)
+if_eui64(int ifindex, unsigned char *eui)
{
struct interface *ifp = if_lookup_by_index(ifindex, VRF_DEFAULT);
if (ifp == NULL) {