public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@stusta.de>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: Ingo Molnar <mingo@elte.hu>, linux-kernel@vger.kernel.org
Subject: [2.6 patch] kernel/rtmutex-debug.c: cleanups
Date: Sun, 1 Jul 2007 22:19:20 +0200	[thread overview]
Message-ID: <20070701201920.GA10869@stusta.de> (raw)

This patch contains the following cleanups:
- make the needlessly global variable rt_trace_on static
- remove the unused global function deadlock_trace_off()

Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

This patch has been sent on:
- 4 Apr 2007

--- linux-2.6.21-rc5-mm3/kernel/rtmutex-debug.c.old	2007-04-03 01:29:12.000000000 +0200
+++ linux-2.6.21-rc5-mm3/kernel/rtmutex-debug.c	2007-04-03 01:29:59.000000000 +0200
@@ -88,12 +88,7 @@
  * into the tracing code when doing error printk or
  * executing a BUG():
  */
-int rt_trace_on = 1;
-
-void deadlock_trace_off(void)
-{
-	rt_trace_on = 0;
-}
+static int rt_trace_on = 1;
 
 static void printk_task(struct task_struct *p)
 {


             reply	other threads:[~2007-07-01 20:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-01 20:19 Adrian Bunk [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-07-29 14:57 [2.6 patch] kernel/rtmutex-debug.c: cleanups Adrian Bunk
2007-04-04 15:25 Adrian Bunk

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=20070701201920.GA10869@stusta.de \
    --to=bunk@stusta.de \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    /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