wireless: remove print_mac uses
Use %pM instead, and also remove stray variables declared with DECLARE_MAC_BUF. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Acked-by: Kalle Valo <kalle.valo@nokia.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
committed by
John W. Linville
parent
04dc882d60
commit
e91d83346a
@ -2628,7 +2628,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];
|
||||
|
Reference in New Issue
Block a user