Remove a redundant declaration.
While at it add a blank line, conforming with the convention used in this file. X-MFC-with: r336203
This commit is contained in:
parent
64987377c2
commit
dfbd3c8d91
@ -471,6 +471,7 @@ static int wpa_driver_wired_set_ifflags(const char *ifname, int flags)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#if defined(__FreeBSD__) || defined(__DragonFly__) || defined(__FreeBSD_kernel__)
|
#if defined(__FreeBSD__) || defined(__DragonFly__) || defined(__FreeBSD_kernel__)
|
||||||
static int wpa_driver_wired_get_ifstatus(const char *ifname, int *status)
|
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)
|
static void * wpa_driver_wired_init(void *ctx, const char *ifname)
|
||||||
{
|
{
|
||||||
struct wpa_driver_wired_data *drv;
|
struct wpa_driver_wired_data *drv;
|
||||||
int flags, status;
|
int flags;
|
||||||
|
|
||||||
drv = os_zalloc(sizeof(*drv));
|
drv = os_zalloc(sizeof(*drv));
|
||||||
if (drv == NULL)
|
if (drv == NULL)
|
||||||
|
Loading…
Reference in New Issue
Block a user