Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 12b0138b authored by Leo Kim's avatar Leo Kim Committed by Greg Kroah-Hartman
Browse files

staging: wilc1000: reset_shadow_found: remove unused argument



This patch removes pUserVoid that is first argument of
reset_shadow_found function because it is not used in this function.
Remove argument in the function call also.

Signed-off-by: default avatarLeo Kim <leo.kim@atmel.com>
Signed-off-by: default avatarGlen Lee <glen.lee@atmel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c6f5e3a6
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -276,7 +276,7 @@ static void refresh_scan(void *user_void, u8 all, bool direct_scan)

}

static void reset_shadow_found(void *pUserVoid)
static void reset_shadow_found(void)
{
	int i;

@@ -731,9 +731,7 @@ static int scan(struct wiphy *wiphy, struct cfg80211_scan_request *request)
	priv->u32RcvdChCount = 0;

	wilc_set_wfi_drv_handler(priv->hWILCWFIDrv);


	reset_shadow_found(priv);
	reset_shadow_found();

	priv->bCfgScanning = true;
	if (request->n_channels <= MAX_NUM_SCANNED_NETWORKS) { /* TODO: mostafa: to be replaced by */