All of lore.kernel.org
 help / color / mirror / Atom feed
From: Glen Lee <glen.lee@atmel.com>
To: <gregkh@linuxfoundation.org>
Cc: <devel@driverdev.osuosl.org>, <linux-wireless@vger.kernel.org>,
	<tony.cho@atmel.com>, <glen.lee@atmel.com>, <leo.kim@atmel.com>,
	<austin.shin@atmel.com>, <adel.noureldin@atmel.com>,
	<adham.abozaeid@atmel.com>, <Nicolas.FERRE@atmel.com>
Subject: [PATCH 13/26] staging: wilc1000: clear_shadow_scan: remove unused argument
Date: Thu, 19 Nov 2015 15:56:22 +0900	[thread overview]
Message-ID: <1447916195-24851-13-git-send-email-glen.lee@atmel.com> (raw)
In-Reply-To: <1447916195-24851-1-git-send-email-glen.lee@atmel.com>

From: Leo Kim <leo.kim@atmel.com>

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

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
---
 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
index 718b060..e72608b 100644
--- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
+++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
@@ -202,7 +202,7 @@ static bool g_wep_keys_saved;
 #define AGING_TIME	(9 * 1000)
 #define during_ip_time	15000
 
-static void clear_shadow_scan(void *pUserVoid)
+static void clear_shadow_scan(void)
 {
 	int i;
 
@@ -3523,7 +3523,7 @@ int wilc_deinit_host_int(struct net_device *net)
 	s32Error = wilc_deinit(priv->hWILCWFIDrv);
 
 	/* Clear the Shadow scan */
-	clear_shadow_scan(priv);
+	clear_shadow_scan();
 	if (op_ifcs == 0) {
 		PRINT_D(CORECONFIG_DBG, "destroy during ip\n");
 		del_timer_sync(&wilc_during_ip_timer);
-- 
1.9.1


  parent reply	other threads:[~2015-11-19  6:54 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-19  6:56 [PATCH 01/26] staging: wilc1000: rename u32LastScannedNtwrksCountShadow variable Glen Lee
2015-11-19  6:56 ` [PATCH 02/26] staging: wilc1000: rename astrLastScannedNtwrksShadow variable Glen Lee
2015-11-19  6:56 ` [PATCH 03/26] staging: wilc1000: rename WILC_WFI_2ghz_channels variable Glen Lee
2015-11-19  6:56 ` [PATCH 04/26] staging: wilc1000: rename WILC_WFI_rates variable Glen Lee
2015-11-19  6:56 ` [PATCH 05/26] staging: wilc1000: rename u8WLANChannel variable Glen Lee
2015-11-19  6:56 ` [PATCH 06/26] staging: wilc1000: rename u8P2P_oui variable Glen Lee
2015-11-19  6:56 ` [PATCH 07/26] staging: wilc1000: rename u8P2Plocalrandom variable Glen Lee
2015-11-19  6:56 ` [PATCH 08/26] staging: wilc1000: rename u8P2Precvrandom variable Glen Lee
2015-11-19  6:56 ` [PATCH 09/26] staging: wilc1000: rename u8P2P_vendorspec variable Glen Lee
2015-11-19  6:56 ` [PATCH 10/26] staging: wilc1000: rename bWilc_ie variable Glen Lee
2015-11-19  6:56 ` [PATCH 11/26] staging: wilc1000: rename duringIP_TIME variable Glen Lee
2015-11-19  6:56 ` [PATCH 12/26] staging: wilc1000: rename wilc_connected_SSID variable Glen Lee
2015-11-19  6:56 ` Glen Lee [this message]
2015-11-19  6:56 ` [PATCH 14/26] staging: wilc1000: rename pUserVoid in refresh_scan function Glen Lee
2015-11-19  6:56 ` [PATCH 15/26] staging: wilc1000: rename bDirectScan " Glen Lee
2015-11-19  6:56 ` [PATCH 16/26] staging: wilc1000: rename pstrNetworkInfo variable Glen Lee
2015-11-19  6:56 ` [PATCH 17/26] staging: wilc1000: rename s32Freq variable Glen Lee
2015-11-19  6:56 ` [PATCH 18/26] staging: wilc1000: reset_shadow_found: remove unused argument Glen Lee
2015-11-19  6:56 ` [PATCH 19/26] staging: wilc1000: update_scan_time: " Glen Lee
2015-11-19  6:56 ` [PATCH 20/26] staging: wilc1000: rename pUserVoid in is_network_in_shadow function Glen Lee
2015-11-19  6:56 ` [PATCH 21/26] staging: wilc1000: rename pUserVoid in add_network_to_shadow function Glen Lee
2015-11-19  6:56 ` [PATCH 22/26] staging: wilc1000: rename enuScanEvent in CfgScanResult function Glen Lee
2015-11-19  6:56 ` [PATCH 23/26] staging: wilc1000: rename pstrNetworkInfo " Glen Lee
2015-11-19  6:56 ` [PATCH 24/26] staging: wilc1000: rename pUserVoid " Glen Lee
2015-11-19  6:56 ` [PATCH 25/26] staging: wilc1000: rename pJoinParams " Glen Lee
2015-11-19  6:56 ` [PATCH 26/26] staging: wilc1000: rename pstrNetworkInfo in get_rssi_avg function Glen Lee

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1447916195-24851-13-git-send-email-glen.lee@atmel.com \
    --to=glen.lee@atmel.com \
    --cc=Nicolas.FERRE@atmel.com \
    --cc=adel.noureldin@atmel.com \
    --cc=adham.abozaeid@atmel.com \
    --cc=austin.shin@atmel.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=leo.kim@atmel.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=tony.cho@atmel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.