* [PATCH 1/4] staging: wilc1000: remove unused variable g_num_total_switches
@ 2015-09-15 5:33 Tony Cho
2015-09-15 5:33 ` [PATCH 2/4] staging: wilc1000: delete function declaration SendRawPacket Tony Cho
` (3 more replies)
0 siblings, 4 replies; 10+ messages in thread
From: Tony Cho @ 2015-09-15 5:33 UTC (permalink / raw)
To: gregkh
Cc: devel, linux-wireless, johnny.kim, chris.park, rachel.kim,
tony.cho, glen.lee, leo.kim, austin.shin, adel.noureldin,
adham.abozaeid, Nicolas.FERRE
From: Glen Lee <glen.lee@atmel.com>
g_num_total_switches is never used so just delete it.
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Tony Cho <tony.cho@atmel.com>
---
drivers/staging/wilc1000/coreconfigurator.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/staging/wilc1000/coreconfigurator.h b/drivers/staging/wilc1000/coreconfigurator.h
index 3af1935..d2a0a0b 100644
--- a/drivers/staging/wilc1000/coreconfigurator.h
+++ b/drivers/staging/wilc1000/coreconfigurator.h
@@ -29,8 +29,6 @@
#define NUM_11N_HUT_SWITCHES 0
#endif /* MAC_802_11N */
-extern u16 g_num_total_switches;
-
#define MAC_HDR_LEN 24 /* No Address4 - non-ESS */
#define MAX_SSID_LEN 33
#define FCS_LEN 4
--
1.9.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH 2/4] staging: wilc1000: delete function declaration SendRawPacket
2015-09-15 5:33 [PATCH 1/4] staging: wilc1000: remove unused variable g_num_total_switches Tony Cho
@ 2015-09-15 5:33 ` Tony Cho
2015-09-15 7:16 ` Sudip Mukherjee
2015-09-15 5:33 ` [PATCH 3/4] staging: wilc1000: coreconfigurator.h: remove unused defines Tony Cho
` (2 subsequent siblings)
3 siblings, 1 reply; 10+ messages in thread
From: Tony Cho @ 2015-09-15 5:33 UTC (permalink / raw)
To: gregkh
Cc: devel, linux-wireless, johnny.kim, chris.park, rachel.kim,
tony.cho, glen.lee, leo.kim, austin.shin, adel.noureldin,
adham.abozaeid, Nicolas.FERRE
From: Glen Lee <glen.lee@atmel.com>
SendRawpacket is declared but not implemented. It is not used also.
So just delete it.
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Tony Cho <tony.cho@atmel.com>
---
drivers/staging/wilc1000/coreconfigurator.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/staging/wilc1000/coreconfigurator.h b/drivers/staging/wilc1000/coreconfigurator.h
index d2a0a0b..c2aee05 100644
--- a/drivers/staging/wilc1000/coreconfigurator.h
+++ b/drivers/staging/wilc1000/coreconfigurator.h
@@ -180,7 +180,6 @@ s32 ParseSurveyResults(u8 ppu8RcvdSiteSurveyResults[][MAX_SURVEY_RESULT_FRAG_SIZ
s32 DeallocateSurveyResults(wid_site_survey_reslts_s *pstrSurveyResults);
#endif
-s32 SendRawPacket(s8 *pspacket, s32 s32PacketLen);
void NetworkInfoReceived(u8 *pu8Buffer, u32 u32Length);
void GnrlAsyncInfoReceived(u8 *pu8Buffer, u32 u32Length);
void host_int_ScanCompleteReceived(u8 *pu8Buffer, u32 u32Length);
--
1.9.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH 3/4] staging: wilc1000: coreconfigurator.h: remove unused defines
2015-09-15 5:33 [PATCH 1/4] staging: wilc1000: remove unused variable g_num_total_switches Tony Cho
2015-09-15 5:33 ` [PATCH 2/4] staging: wilc1000: delete function declaration SendRawPacket Tony Cho
@ 2015-09-15 5:33 ` Tony Cho
2015-09-15 5:33 ` [PATCH 4/4] staging: wilc1000: remove unused variable g_flushing_in_progress Tony Cho
2015-09-15 7:13 ` [PATCH 1/4] staging: wilc1000: remove unused variable g_num_total_switches Sudip Mukherjee
3 siblings, 0 replies; 10+ messages in thread
From: Tony Cho @ 2015-09-15 5:33 UTC (permalink / raw)
To: gregkh
Cc: devel, linux-wireless, johnny.kim, chris.park, rachel.kim,
tony.cho, glen.lee, leo.kim, austin.shin, adel.noureldin,
adham.abozaeid, Nicolas.FERRE
From: Glen Lee <glen.lee@atmel.com>
The define MAX_PACKET_BUFF_SIZE and STATUS_MSG_LEN is not used in the driver.
Delete two defines.
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Tony Cho <tony.cho@atmel.com>
---
drivers/staging/wilc1000/coreconfigurator.h | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/staging/wilc1000/coreconfigurator.h b/drivers/staging/wilc1000/coreconfigurator.h
index c2aee05..32e5b31 100644
--- a/drivers/staging/wilc1000/coreconfigurator.h
+++ b/drivers/staging/wilc1000/coreconfigurator.h
@@ -44,14 +44,11 @@
/* Operating Mode: GET */
#define GET_CFG 1
-#define MAX_PACKET_BUFF_SIZE 1596
-
#define MAX_STRING_LEN 256
#define MAX_SURVEY_RESULT_FRAG_SIZE MAX_STRING_LEN
#define SURVEY_RESULT_LENGTH 44
#define MAX_ASSOC_RESP_FRAME_SIZE MAX_STRING_LEN
-#define STATUS_MSG_LEN 12
#define MAC_CONNECTED 1
#define MAC_DISCONNECTED 0
--
1.9.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH 4/4] staging: wilc1000: remove unused variable g_flushing_in_progress
2015-09-15 5:33 [PATCH 1/4] staging: wilc1000: remove unused variable g_num_total_switches Tony Cho
2015-09-15 5:33 ` [PATCH 2/4] staging: wilc1000: delete function declaration SendRawPacket Tony Cho
2015-09-15 5:33 ` [PATCH 3/4] staging: wilc1000: coreconfigurator.h: remove unused defines Tony Cho
@ 2015-09-15 5:33 ` Tony Cho
2015-09-15 7:13 ` [PATCH 1/4] staging: wilc1000: remove unused variable g_num_total_switches Sudip Mukherjee
3 siblings, 0 replies; 10+ messages in thread
From: Tony Cho @ 2015-09-15 5:33 UTC (permalink / raw)
To: gregkh
Cc: devel, linux-wireless, johnny.kim, chris.park, rachel.kim,
tony.cho, glen.lee, leo.kim, austin.shin, adel.noureldin,
adham.abozaeid, Nicolas.FERRE
From: Glen Lee <glen.lee@atmel.com>
g_flushing_in_progress is never used so just delete it.
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Tony Cho <tony.cho@atmel.com>
---
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
index 8cdd1d5..4fdb980 100644
--- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
+++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
@@ -132,7 +132,6 @@ struct wilc_wfi_key g_key_gtk_params;
struct add_key_params g_add_ptk_key_params;
struct wilc_wfi_key g_key_ptk_params;
struct wilc_wfi_wep_key g_key_wep_params;
-u8 g_flushing_in_progress;
bool g_ptk_keys_saved;
bool g_gtk_keys_saved;
bool g_wep_keys_saved;
--
1.9.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: [PATCH 1/4] staging: wilc1000: remove unused variable g_num_total_switches
2015-09-15 5:33 [PATCH 1/4] staging: wilc1000: remove unused variable g_num_total_switches Tony Cho
` (2 preceding siblings ...)
2015-09-15 5:33 ` [PATCH 4/4] staging: wilc1000: remove unused variable g_flushing_in_progress Tony Cho
@ 2015-09-15 7:13 ` Sudip Mukherjee
2015-09-15 8:26 ` Tony Cho
3 siblings, 1 reply; 10+ messages in thread
From: Sudip Mukherjee @ 2015-09-15 7:13 UTC (permalink / raw)
To: Tony Cho
Cc: gregkh, devel, rachel.kim, chris.park, austin.shin,
linux-wireless, johnny.kim, Nicolas.FERRE, adel.noureldin,
leo.kim, adham.abozaeid
On Tue, Sep 15, 2015 at 02:33:54PM +0900, Tony Cho wrote:
> From: Glen Lee <glen.lee@atmel.com>
>
> g_num_total_switches is never used so just delete it.
>
> Signed-off-by: Glen Lee <glen.lee@atmel.com>
> Signed-off-by: Tony Cho <tony.cho@atmel.com>
> ---
you only deleted from the .h file but it still remains in
coreconfigurator.c
regards
sudip
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH 2/4] staging: wilc1000: delete function declaration SendRawPacket
2015-09-15 5:33 ` [PATCH 2/4] staging: wilc1000: delete function declaration SendRawPacket Tony Cho
@ 2015-09-15 7:16 ` Sudip Mukherjee
0 siblings, 0 replies; 10+ messages in thread
From: Sudip Mukherjee @ 2015-09-15 7:16 UTC (permalink / raw)
To: Tony Cho
Cc: gregkh, devel, rachel.kim, chris.park, austin.shin,
linux-wireless, johnny.kim, Nicolas.FERRE, adel.noureldin,
leo.kim, adham.abozaeid
On Tue, Sep 15, 2015 at 02:33:55PM +0900, Tony Cho wrote:
> From: Glen Lee <glen.lee@atmel.com>
>
> SendRawpacket is declared but not implemented. It is not used also.
> So just delete it.
>
> Signed-off-by: Glen Lee <glen.lee@atmel.com>
> Signed-off-by: Tony Cho <tony.cho@atmel.com>
> ---
Still remains in coreconfigurator.c
regards
sudip
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH 1/4] staging: wilc1000: remove unused variable g_num_total_switches
2015-09-15 7:13 ` [PATCH 1/4] staging: wilc1000: remove unused variable g_num_total_switches Sudip Mukherjee
@ 2015-09-15 8:26 ` Tony Cho
2015-09-15 13:46 ` Greg KH
0 siblings, 1 reply; 10+ messages in thread
From: Tony Cho @ 2015-09-15 8:26 UTC (permalink / raw)
To: Sudip Mukherjee
Cc: gregkh, devel, rachel.kim, chris.park, austin.shin,
linux-wireless, johnny.kim, Nicolas.FERRE, adel.noureldin,
leo.kim, adham.abozaeid
On 2015년 09월 15일 16:13, Sudip Mukherjee wrote:
> On Tue, Sep 15, 2015 at 02:33:54PM +0900, Tony Cho wrote:
>> From: Glen Lee <glen.lee@atmel.com>
>>
>> g_num_total_switches is never used so just delete it.
>>
>> Signed-off-by: Glen Lee <glen.lee@atmel.com>
>> Signed-off-by: Tony Cho <tony.cho@atmel.com>
>> ---
> you only deleted from the .h file but it still remains in
> coreconfigurator.c
>
> regards
> sudip
The variable was removed in previous patch (staging: wilc1000: remove unused variables) and the patch was sent
but it's not accepted yet. So, you can find the variable still in c file.
Thanks for your advice,
Tony.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH 1/4] staging: wilc1000: remove unused variable g_num_total_switches
2015-09-15 8:26 ` Tony Cho
@ 2015-09-15 13:46 ` Greg KH
2015-09-15 14:06 ` Sudip Mukherjee
2015-09-16 1:21 ` Tony Cho
0 siblings, 2 replies; 10+ messages in thread
From: Greg KH @ 2015-09-15 13:46 UTC (permalink / raw)
To: Tony Cho
Cc: Sudip Mukherjee, devel, rachel.kim, chris.park, austin.shin,
linux-wireless, johnny.kim, Nicolas.FERRE, adel.noureldin,
leo.kim, adham.abozaeid
On Tue, Sep 15, 2015 at 05:26:35PM +0900, Tony Cho wrote:
>
>
> On 2015년 09월 15일 16:13, Sudip Mukherjee wrote:
> >On Tue, Sep 15, 2015 at 02:33:54PM +0900, Tony Cho wrote:
> >>From: Glen Lee <glen.lee@atmel.com>
> >>
> >>g_num_total_switches is never used so just delete it.
> >>
> >>Signed-off-by: Glen Lee <glen.lee@atmel.com>
> >>Signed-off-by: Tony Cho <tony.cho@atmel.com>
> >>---
> >you only deleted from the .h file but it still remains in
> >coreconfigurator.c
> >
> >regards
> >sudip
>
> The variable was removed in previous patch (staging: wilc1000: remove unused variables) and the patch was sent
> but it's not accepted yet. So, you can find the variable still in c file.
I don't see that patch here in my queue :(
Please resend all of your outstanding patches, I think we are out of
sync somehow.
thanks,
greg k-h
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH 1/4] staging: wilc1000: remove unused variable g_num_total_switches
2015-09-15 13:46 ` Greg KH
@ 2015-09-15 14:06 ` Sudip Mukherjee
2015-09-16 1:21 ` Tony Cho
1 sibling, 0 replies; 10+ messages in thread
From: Sudip Mukherjee @ 2015-09-15 14:06 UTC (permalink / raw)
To: Greg KH
Cc: Tony Cho, devel, rachel.kim, chris.park, austin.shin,
linux-wireless, johnny.kim, Nicolas.FERRE, adel.noureldin,
leo.kim, adham.abozaeid
On Tue, Sep 15, 2015 at 06:46:25AM -0700, Greg KH wrote:
> On Tue, Sep 15, 2015 at 05:26:35PM +0900, Tony Cho wrote:
> >
> >
> > On 2015년 09월 15일 16:13, Sudip Mukherjee wrote:
> > >On Tue, Sep 15, 2015 at 02:33:54PM +0900, Tony Cho wrote:
> > >>From: Glen Lee <glen.lee@atmel.com>
> > >>
> > >>g_num_total_switches is never used so just delete it.
> > >>
> > >>Signed-off-by: Glen Lee <glen.lee@atmel.com>
> > >>Signed-off-by: Tony Cho <tony.cho@atmel.com>
> > >>---
> > >you only deleted from the .h file but it still remains in
> > >coreconfigurator.c
> > >
> > >regards
> > >sudip
> >
> > The variable was removed in previous patch (staging: wilc1000: remove unused variables) and the patch was sent
> > but it's not accepted yet. So, you can find the variable still in c file.
>
> I don't see that patch here in my queue :(
>
> Please resend all of your outstanding patches, I think we are out of
> sync somehow.
This was the series of 7 patches and the first patch was
"remove PANDA_BOARD".
And the series is indeed not applied.
patch 7/7 was removing g_num_total_switches from the .c file, while
resending please modify and remove it from the .h file also.
And when your patch depends on some previous unapplied patch it will be
better if you can mention that in the comments.
regards
sudip
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH 1/4] staging: wilc1000: remove unused variable g_num_total_switches
2015-09-15 13:46 ` Greg KH
2015-09-15 14:06 ` Sudip Mukherjee
@ 2015-09-16 1:21 ` Tony Cho
1 sibling, 0 replies; 10+ messages in thread
From: Tony Cho @ 2015-09-16 1:21 UTC (permalink / raw)
To: Greg KH
Cc: Sudip Mukherjee, devel, rachel.kim, chris.park, austin.shin,
linux-wireless, johnny.kim, Nicolas.FERRE, adel.noureldin,
leo.kim, adham.abozaeid
On 2015년 09월 15일 22:46, Greg KH wrote:
> On Tue, Sep 15, 2015 at 05:26:35PM +0900, Tony Cho wrote:
>>
>> On 2015년 09월 15일 16:13, Sudip Mukherjee wrote:
>>> On Tue, Sep 15, 2015 at 02:33:54PM +0900, Tony Cho wrote:
>>>> From: Glen Lee <glen.lee@atmel.com>
>>>>
>>>> g_num_total_switches is never used so just delete it.
>>>>
>>>> Signed-off-by: Glen Lee <glen.lee@atmel.com>
>>>> Signed-off-by: Tony Cho <tony.cho@atmel.com>
>>>> ---
>>> you only deleted from the .h file but it still remains in
>>> coreconfigurator.c
>>>
>>> regards
>>> sudip
>> The variable was removed in previous patch (staging: wilc1000: remove unused variables) and the patch was sent
>> but it's not accepted yet. So, you can find the variable still in c file.
> I don't see that patch here in my queue :(
>
> Please resend all of your outstanding patches, I think we are out of
> sync somehow.
OK, I will resend all of remaining patches by marking with "v2".
>
> thanks,
>
> greg k-h
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2015-09-16 1:21 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-15 5:33 [PATCH 1/4] staging: wilc1000: remove unused variable g_num_total_switches Tony Cho
2015-09-15 5:33 ` [PATCH 2/4] staging: wilc1000: delete function declaration SendRawPacket Tony Cho
2015-09-15 7:16 ` Sudip Mukherjee
2015-09-15 5:33 ` [PATCH 3/4] staging: wilc1000: coreconfigurator.h: remove unused defines Tony Cho
2015-09-15 5:33 ` [PATCH 4/4] staging: wilc1000: remove unused variable g_flushing_in_progress Tony Cho
2015-09-15 7:13 ` [PATCH 1/4] staging: wilc1000: remove unused variable g_num_total_switches Sudip Mukherjee
2015-09-15 8:26 ` Tony Cho
2015-09-15 13:46 ` Greg KH
2015-09-15 14:06 ` Sudip Mukherjee
2015-09-16 1:21 ` Tony Cho
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).