diff mbox

[2/8] ar9170: Remove unused DECLARE_MAC_BUF

Message ID 1247734381-20718-1-git-send-email-klto@zhaw.ch
State Not Applicable, archived
Delegated to: David Miller
Headers show

Commit Message

Tobias Klauser July 16, 2009, 8:53 a.m. UTC
Is not needed anymore because of the %pM printk conversion specifier.

Signed-off-by: Tobias Klauser <klto@zhaw.ch>
---
 drivers/net/wireless/ath/ar9170/main.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

Comments

Luis R. Rodriguez July 16, 2009, 4:39 p.m. UTC | #1
On Thu, Jul 16, 2009 at 1:53 AM, Tobias Klauser<klto@zhaw.ch> wrote:
> Is not needed anymore because of the %pM printk conversion specifier.
>
> Signed-off-by: Tobias Klauser <klto@zhaw.ch>
> ---
>  drivers/net/wireless/ath/ar9170/main.c |    1 -
>  1 files changed, 0 insertions(+), 1 deletions(-)

This is already patched by Johannes through the patch titled:

[PATCH] wireless: remove print_mac uses

Please see and resubmit if there is anything missing:

http://marc.info/?l=linux-wireless&m=124767211929848&w=2

 Luis
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/net/wireless/ath/ar9170/main.c b/drivers/net/wireless/ath/ar9170/main.c
index 9d38cf6..3d6373a 100644
--- a/drivers/net/wireless/ath/ar9170/main.c
+++ b/drivers/net/wireless/ath/ar9170/main.c
@@ -2085,7 +2085,6 @@  static int ar9170_read_eeprom(struct ar9170 *ar)
 {
 #define RW	8	/* number of words to read at once */
 #define RB	(sizeof(u32) * RW)
-	DECLARE_MAC_BUF(mbuf);
 	u8 *eeprom = (void *)&ar->eeprom;
 	u8 *addr = ar->eeprom.mac_address;
 	__le32 offsets[RW];