Patchwork IPVS: Remove unused pr_fmt #define

login
register
mail settings
Submitter Simon Horman
Date Jan. 25, 2011, 5:15 a.m.
Message ID <1295932553-13854-1-git-send-email-horms@verge.net.au>
Download mbox | patch
Permalink /patch/80317/
State Not Applicable
Delegated to: David Miller
Headers show

Comments

Simon Horman - Jan. 25, 2011, 5:15 a.m.
Cc: Joe Perches <joe@perches.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
---
 net/netfilter/ipvs/ip_vs_app.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
David Miller - Jan. 25, 2011, 5:24 a.m.
From: Simon Horman <horms@verge.net.au>
Date: Tue, 25 Jan 2011 15:15:53 +1000

> Cc: Joe Perches <joe@perches.com>
> Signed-off-by: Simon Horman <horms@verge.net.au>

Isn't it used by IP_VS_DBG?
--
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
Simon Horman - Jan. 25, 2011, 6:24 a.m.
On Mon, Jan 24, 2011 at 09:24:25PM -0800, David Miller wrote:
> From: Simon Horman <horms@verge.net.au>
> Date: Tue, 25 Jan 2011 15:15:53 +1000
> 
> > Cc: Joe Perches <joe@perches.com>
> > Signed-off-by: Simon Horman <horms@verge.net.au>
> 
> Isn't it used by IP_VS_DBG?

Ooops, yes. Please ignore this and v2.
--
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

Patch

diff --git a/net/netfilter/ipvs/ip_vs_app.c b/net/netfilter/ipvs/ip_vs_app.c
index 5c48ffb..e2a19d0 100644
--- a/net/netfilter/ipvs/ip_vs_app.c
+++ b/net/netfilter/ipvs/ip_vs_app.c
@@ -19,7 +19,6 @@ 
  */
 
 #define KMSG_COMPONENT "IPVS"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
 
 #include <linux/module.h>
 #include <linux/kernel.h>