From: "Gustavo F. Padovan" <gustavo@padovan.org>
To: linux-bluetooth@vger.kernel.org
Cc: gustavo@padovan.org
Subject: [PATCH 2/8] log: Remove vinfo function
Date: Tue, 8 Jun 2010 04:11:48 -0300 [thread overview]
Message-ID: <1275981114-18019-2-git-send-email-gustavo@padovan.org> (raw)
In-Reply-To: <1275981114-18019-1-git-send-email-gustavo@padovan.org>
It was used only once.
---
src/log.c | 7 +------
1 files changed, 1 insertions(+), 6 deletions(-)
diff --git a/src/log.c b/src/log.c
index 29e2d7d..cb02aad 100644
--- a/src/log.c
+++ b/src/log.c
@@ -33,18 +33,13 @@
#include "log.h"
-static inline void vinfo(const char *format, va_list ap)
-{
- vsyslog(LOG_INFO, format, ap);
-}
-
void info(const char *format, ...)
{
va_list ap;
va_start(ap, format);
- vinfo(format, ap);
+ vsyslog(LOG_INFO, format, ap);
va_end(ap);
}
--
1.7.1
next prev parent reply other threads:[~2010-06-08 7:11 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-08 7:11 [PATCH 1/8] Remove ifndef barrier from log.h and btio.h Gustavo F. Padovan
2010-06-08 7:11 ` Gustavo F. Padovan [this message]
2010-06-08 7:11 ` [PATCH 3/8] Fix regression with debug via SIGUSR2 Gustavo F. Padovan
2010-06-08 7:11 ` [PATCH 4/8] Add Debug property to Manager interface Gustavo F. Padovan
2010-06-08 7:11 ` [PATCH 5/8] Add SetProperty method and Debug read/write property Gustavo F. Padovan
2010-06-08 7:11 ` [PATCH 6/8] log: Add function to get/set debug_string Gustavo F. Padovan
2010-06-08 7:11 ` [PATCH 7/8] Add DebugString Property to Manager Gustavo F. Padovan
2010-06-08 7:11 ` [PATCH 8/8] Document the new Debug and DebugString property Gustavo F. Padovan
2010-06-08 8:05 ` [PATCH 3/8] Fix regression with debug via SIGUSR2 Johan Hedberg
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=1275981114-18019-2-git-send-email-gustavo@padovan.org \
--to=gustavo@padovan.org \
--cc=linux-bluetooth@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).