public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
From: Sven Eckelmann <sven@narfation.org>
To: b.a.t.m.a.n@lists.open-mesh.org
Subject: [B.A.T.M.A.N.] [PATCH 2/2] batman-adv: Remove unused variable r in bat_printk
Date: Sat,  7 May 2011 21:48:04 +0200	[thread overview]
Message-ID: <1304797684-31778-2-git-send-email-sven@narfation.org> (raw)
In-Reply-To: <1304797684-31778-1-git-send-email-sven@narfation.org>

Signed-off-by: Sven Eckelmann <sven@narfation.org>
---
 compat.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/compat.c b/compat.c
index 34b27a1..70de376 100644
--- a/compat.c
+++ b/compat.c
@@ -909,11 +909,10 @@ int bat_vscnprintf(char *buf, size_t size, const char *fmt, va_list args)
 asmlinkage int bat_printk(const char *fmt, ...)
 {
 	va_list args;
-	int r;
 	char buf[256];
 
 	va_start(args, fmt);
-	r = bat_vsnprintf(buf, sizeof(buf), fmt, args);
+	bat_vsnprintf(buf, sizeof(buf), fmt, args);
 	va_end(args);
 
 	return printk("%s", buf);
-- 
1.7.5.1


  reply	other threads:[~2011-05-07 19:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-07 19:48 [B.A.T.M.A.N.] [PATCH 1/2] batman-adv: Don't include bat_sysfs.h in compat.h Sven Eckelmann
2011-05-07 19:48 ` Sven Eckelmann [this message]
2011-05-08 12:37   ` [B.A.T.M.A.N.] [PATCH 2/2] batman-adv: Remove unused variable r in bat_printk Marek Lindner
2011-05-08 12:36 ` [B.A.T.M.A.N.] [PATCH 1/2] batman-adv: Don't include bat_sysfs.h in compat.h Marek Lindner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1304797684-31778-2-git-send-email-sven@narfation.org \
    --to=sven@narfation.org \
    --cc=b.a.t.m.a.n@lists.open-mesh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox