From dfbd3c8d9197d1adf9d3dde138f9a0ed453608b2 Mon Sep 17 00:00:00 2001 From: Cy Schubert Date: Fri, 20 Jul 2018 02:25:39 +0000 Subject: [PATCH] Remove a redundant declaration. While at it add a blank line, conforming with the convention used in this file. X-MFC-with: r336203 --- contrib/wpa/src/drivers/driver_wired.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/contrib/wpa/src/drivers/driver_wired.c b/contrib/wpa/src/drivers/driver_wired.c index 755008ee7983..422a22064ebe 100644 --- a/contrib/wpa/src/drivers/driver_wired.c +++ b/contrib/wpa/src/drivers/driver_wired.c @@ -471,6 +471,7 @@ static int wpa_driver_wired_set_ifflags(const char *ifname, int flags) return 0; } + #if defined(__FreeBSD__) || defined(__DragonFly__) || defined(__FreeBSD_kernel__) static int wpa_driver_wired_get_ifstatus(const char *ifname, int *status) { @@ -558,7 +559,7 @@ static int wpa_driver_wired_multi(const char *ifname, const u8 *addr, int add) static void * wpa_driver_wired_init(void *ctx, const char *ifname) { struct wpa_driver_wired_data *drv; - int flags, status; + int flags; drv = os_zalloc(sizeof(*drv)); if (drv == NULL)