From dbeb03f2a7bee9d440bccf0c5b94e9fb5f1d0751 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Wed, 5 Oct 2011 11:42:34 +1100 Subject: [PATCH] drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe.h: remove unused macro pr_fmt() In file included from drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c:22: drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe.h:24:1: warning: "pr_fmt" redefined In file included from include/linux/kernel.h:20, from include/linux/cache.h:4, from include/linux/time.h:7, from include/linux/stat.h:60, from include/linux/module.h:10, from drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c:21: include/linux/printk.h:152:1: warning: this is the location of the previous definition Cc: Tomoya Cc: Toshiharu Okada Cc: Jeff Kirsher Cc: David Miller Signed-off-by: Andrew Morton --- drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe.h b/drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe.h index a09a07197eb5..7e2cea7dc426 100644 --- a/drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe.h +++ b/drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe.h @@ -21,8 +21,6 @@ #ifndef _PCH_GBE_H_ #define _PCH_GBE_H_ -#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt - #include #include #include -- 2.39.5