Author: cy
Date: Fri Jul 20 02:25:39 2018
New Revision: 336531
URL: https://svnweb.freebsd.org/changeset/base/336531
Log:
Remove a redundant declaration.
While at it add a blank line, conforming with the convention
used in this file.
X-MFC-with: r336203
Modified:
head/contrib/wpa/src/drivers/driver_wired.c
Modified: head/contrib/wpa/src/drivers/driver_wired.c
==============================================================================
--- head/contrib/wpa/src/drivers/driver_wired.c Fri Jul 20 02:17:19 2018
(r336530)
+++ head/contrib/wpa/src/drivers/driver_wired.c Fri Jul 20 02:25:39 2018
(r336531)
@@ -471,6 +471,7 @@ static int wpa_driver_wired_set_ifflags(const char *if
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,
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)
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"