2008-10-06 13:59:28

by Rami Rosen

[permalink] [raw]
Subject: [PATCH 2/2] iwlwifi: fix compliation warning in iwl-scan.c when CONFIG_IWLWIFI_DEBUG is not set.

When CONFIG_IWLWIFI_DEBUG is not set and CONFIG_IWLWIFI is set,
we get this compilation warning:
wireless-next-2.6/drivers/net/wireless/iwlwifi/iwl-scan.c:92: warning:
'iwl_escape_essid' defined but not used

This patch (against wireless-next-2.6 tree) fixes it.


Signed-off-by: Rami Rosen <[email protected]>


Attachments:
(No filename) (312.00 B)
patch2.txt (941.00 B)
Download all attachments

2008-10-06 15:21:08

by Rami Rosen

[permalink] [raw]
Subject: Re: [PATCH 2/2] iwlwifi: fix compliation warning in iwl-scan.c when CONFIG_IWLWIFI_DEBUG is not set.

Hello,
Yes, now I found you are right;
see:
http://marc.info/?l=linux-wireless&m=122282784617899&w=2


Regards,
Rami Rosen

On Mon, Oct 6, 2008 at 4:42 PM, Tomas Winkler <[email protected]> wrote:
> On Mon, Oct 6, 2008 at 3:59 PM, Rami Rosen <[email protected]> wrote:
>> When CONFIG_IWLWIFI_DEBUG is not set and CONFIG_IWLWIFI is set,
>> we get this compilation warning:
>> wireless-next-2.6/drivers/net/wireless/iwlwifi/iwl-scan.c:92: warning:
>> 'iwl_escape_essid' defined but not used
>>
>> This patch (against wireless-next-2.6 tree) fixes it.
>>
> I believe there is queued patch that removes this code completely
> Tomas
>

2008-10-06 14:42:14

by Tomas Winkler

[permalink] [raw]
Subject: Re: [PATCH 2/2] iwlwifi: fix compliation warning in iwl-scan.c when CONFIG_IWLWIFI_DEBUG is not set.

On Mon, Oct 6, 2008 at 3:59 PM, Rami Rosen <[email protected]> wrote:
> When CONFIG_IWLWIFI_DEBUG is not set and CONFIG_IWLWIFI is set,
> we get this compilation warning:
> wireless-next-2.6/drivers/net/wireless/iwlwifi/iwl-scan.c:92: warning:
> 'iwl_escape_essid' defined but not used
>
> This patch (against wireless-next-2.6 tree) fixes it.
>
I believe there is queued patch that removes this code completely
Tomas