2009-07-16 09:00:13

by Tobias Klauser

[permalink] [raw]
Subject: [PATCH 2/8] ar9170: Remove unused DECLARE_MAC_BUF

Is not needed anymore because of the %pM printk conversion specifier.

Signed-off-by: Tobias Klauser <[email protected]>
---
drivers/net/wireless/ath/ar9170/main.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)

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];
--
1.6.0.4



2009-07-16 16:39:36

by Luis R. Rodriguez

[permalink] [raw]
Subject: Re: [PATCH 2/8] ar9170: Remove unused DECLARE_MAC_BUF

On Thu, Jul 16, 2009 at 1:53 AM, Tobias Klauser<[email protected]> wrote:
> Is not needed anymore because of the %pM printk conversion specifier.
>
> Signed-off-by: Tobias Klauser <[email protected]>
> ---
>  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