From: "John W. Linville" <linville@tuxdriver.com>
To: Helmut Schaa <helmut.schaa@googlemail.com>
Cc: linux-wireless@vger.kernel.org
Subject: Re: [PATCH 2/2] iwl3945: Remove unused variables
Date: Wed, 21 Jan 2009 14:23:30 -0500 [thread overview]
Message-ID: <20090121192329.GB14710@tuxdriver.com> (raw)
In-Reply-To: <200901190955.32818.helmut.schaa@gmail.com>
On Mon, Jan 19, 2009 at 09:55:32AM +0100, Helmut Schaa wrote:
> Fix the following warnings in iwl-3945-rs.c by removing unused variab=
les.
>=20
> drivers/net/wireless/iwlwifi/iwl-3945-rs.c: In function =E2=80=98iwl3=
945_rate_scale_flush_windows=E2=80=99:
> drivers/net/wireless/iwlwifi/iwl-3945-rs.c:186: warning: unused varia=
ble =E2=80=98priv=E2=80=99
> drivers/net/wireless/iwlwifi/iwl-3945-rs.c: In function =E2=80=98iwl3=
945_bg_rate_scale_flush=E2=80=99:
> drivers/net/wireless/iwlwifi/iwl-3945-rs.c:219: warning: unused varia=
ble =E2=80=98priv=E2=80=99
> drivers/net/wireless/iwlwifi/iwl-3945-rs.c: In function =E2=80=98iwl3=
945_collect_tx_data=E2=80=99:
> drivers/net/wireless/iwlwifi/iwl-3945-rs.c:293: warning: unused varia=
ble =E2=80=98priv=E2=80=99
> drivers/net/wireless/iwlwifi/iwl-3945-rs.c: In function =E2=80=98rs_f=
ree_sta=E2=80=99:
> drivers/net/wireless/iwlwifi/iwl-3945-rs.c:441: warning: unused varia=
ble =E2=80=98priv=E2=80=99
> drivers/net/wireless/iwlwifi/iwl-3945-rs.c: In function =E2=80=98iwl3=
945_get_adjacent_rate=E2=80=99:
> drivers/net/wireless/iwlwifi/iwl-3945-rs.c:559: warning: unused varia=
ble =E2=80=98priv=E2=80=99
>=20
> Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
With this applied, I get these:
CC [M] drivers/net/wireless/iwlwifi/iwl-3945-rs.o
drivers/net/wireless/iwlwifi/iwl-3945-rs.c: In function =E2=80=98iwl394=
5_rate_scale_flush_windows=E2=80=99:
drivers/net/wireless/iwlwifi/iwl-3945-rs.c:199: error: =E2=80=98priv=E2=
=80=99 undeclared (first use in this function)
drivers/net/wireless/iwlwifi/iwl-3945-rs.c:199: error: (Each undeclared=
identifier is reported only once
drivers/net/wireless/iwlwifi/iwl-3945-rs.c:199: error: for each functio=
n it appears in.)
drivers/net/wireless/iwlwifi/iwl-3945-rs.c: In function =E2=80=98iwl394=
5_bg_rate_scale_flush=E2=80=99:
drivers/net/wireless/iwlwifi/iwl-3945-rs.c:222: error: =E2=80=98priv=E2=
=80=99 undeclared (first use in this function)
drivers/net/wireless/iwlwifi/iwl-3945-rs.c: In function =E2=80=98iwl394=
5_collect_tx_data=E2=80=99:
drivers/net/wireless/iwlwifi/iwl-3945-rs.c:293: error: =E2=80=98priv=E2=
=80=99 undeclared (first use in this function)
drivers/net/wireless/iwlwifi/iwl-3945-rs.c: In function =E2=80=98rs_fre=
e_sta=E2=80=99:
drivers/net/wireless/iwlwifi/iwl-3945-rs.c:441: error: =E2=80=98priv=E2=
=80=99 undeclared (first use in this function)
drivers/net/wireless/iwlwifi/iwl-3945-rs.c: In function =E2=80=98iwl394=
5_get_adjacent_rate=E2=80=99:
drivers/net/wireless/iwlwifi/iwl-3945-rs.c:594: error: =E2=80=98priv=E2=
=80=99 undeclared (first use in this function)
make[2]: *** [drivers/net/wireless/iwlwifi/iwl-3945-rs.o] Error 1
make[1]: *** [drivers/net/wireless/iwlwifi] Error 2
make: *** [drivers/net/wireless/] Error 2
Dropping...
John
--=20
John W. Linville Someday the world will need a hero, and you
linville@tuxdriver.com might be all we have. Be ready.
--
To unsubscribe from this list: send the line "unsubscribe linux-wireles=
s" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2009-01-21 19:30 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-19 8:55 [PATCH 2/2] iwl3945: Remove unused variables Helmut Schaa
2009-01-19 13:06 ` samuel
2009-01-21 19:23 ` John W. Linville [this message]
2009-01-22 10:44 ` Helmut Schaa
2009-01-22 11:28 ` Tomas Winkler
2009-01-22 19:08 ` Helmut Schaa
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=20090121192329.GB14710@tuxdriver.com \
--to=linville@tuxdriver.com \
--cc=helmut.schaa@googlemail.com \
--cc=linux-wireless@vger.kernel.org \
/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 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).