mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Anthony G. Basile" <basile@opensource.dyc.edu>
To: linux-kernel@vger.kernel.org
Cc: rob@landley.net, jj@chaosbits.net, jkosina@suse.cz,
	linux-doc@vger.kernel.org, embedded@gentoo.org,
	kernel@gentoo.org,
	"Anthony G. Basile" <basile@opensource.dyc.edu>
Subject: [PATCH] Remove unnecessary declarations from Documentation/accounting/getdelays.c
Date: Sat, 24 Nov 2012 11:54:24 -0500	[thread overview]
Message-ID: <1353776064-25815-1-git-send-email-basile@opensource.dyc.edu> (raw)

From: "Anthony G. Basile" <basile@opensource.dyc.edu>

stime and utime are declared __u64 but are never used.  On a glibc system
this is harmless lint, but on a uClibc system, because of the difference
in they way header files stack, including stdio.h brings in time.h and
this causes a name collision with stime.  Since these are useless anyhow,
we remove them.

Signed-off-by: Anthony G. Basile <basile@opensource.dyc.edu>
---
 Documentation/accounting/getdelays.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/Documentation/accounting/getdelays.c b/Documentation/accounting/getdelays.c
index 6f706ac..f8ebcde 100644
--- a/Documentation/accounting/getdelays.c
+++ b/Documentation/accounting/getdelays.c
@@ -51,7 +51,6 @@ int dbg;
 int print_delays;
 int print_io_accounting;
 int print_task_context_switch_counts;
-__u64 stime, utime;
 
 #define PRINTF(fmt, arg...) {			\
 	    if (dbg) {				\
-- 
1.7.6.1


             reply	other threads:[~2012-11-24 16:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-24 16:54 Anthony G. Basile [this message]
2012-11-25 22:07 ` Jesper Juhl
2012-11-26 13:22 ` Jiri Kosina

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=1353776064-25815-1-git-send-email-basile@opensource.dyc.edu \
    --to=basile@opensource.dyc.edu \
    --cc=embedded@gentoo.org \
    --cc=jj@chaosbits.net \
    --cc=jkosina@suse.cz \
    --cc=kernel@gentoo.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rob@landley.net \
    /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

all inboxes | Powered by JetHome®