[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1260123057.11126.93.camel@Joe-Laptop.home>
Date: Sun, 06 Dec 2009 10:10:57 -0800
From: Joe Perches <joe@...ches.com>
To: Andi Kleen <andi@...stfloor.org>
Cc: davem@...emloft.net, netdev@...r.kernel.org
Subject: Re: [PATCH] Remove deprecated print_mac to fix warnings
On Sun, 2009-12-06 at 15:08 +0100, Andi Kleen wrote:
> Remove deprecated and unused print_mac to fix warnings
[]
> --- linux-2.6.32-ak.orig/include/linux/if_ether.h
> +++ linux-2.6.32-ak/include/linux/if_ether.h
> @@ -139,7 +139,6 @@ extern ssize_t sysfs_format_mac(char *bu
> /*
> * Display a 6 byte device address (MAC) in a readable format.
> */
> -extern char *print_mac(char *buf, const unsigned char *addr) __deprecated;
> #define MAC_FMT "%02x:%02x:%02x:%02x:%02x:%02x"
> #define MAC_BUF_SIZE 18
> #define DECLARE_MAC_BUF(var) char var[MAC_BUF_SIZE]
#define MAC_BUF_SIZE and #define DECLARE_MAC_BUF
should be removed as well.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists