LKML Archive on
help / color / mirror / Atom feed
From: Johann Felix Soden <>
Subject: [PATCH] driver core: Use 'ret' variable in unregister_dynamic_debug_module
Date: Thu, 30 Oct 2008 22:44:39 +0100	[thread overview]
Message-ID: <1225403079.7328.7.camel@localhost> (raw)

From: Johann Felix Soden <>

The 'ret' variable is assigned, but not used in the return statement. Fix this.

Signed-off-by: Johann Felix Soden <>
CC: Jason Baron <>
 lib/dynamic_printk.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/dynamic_printk.c b/lib/dynamic_printk.c
index d83660f..d0fd0e4 100644
--- a/lib/dynamic_printk.c
+++ b/lib/dynamic_printk.c
@@ -135,7 +135,7 @@ int unregister_dynamic_debug_module(char *mod_name)
-	return 0;
+	return ret;

             reply	other threads:[~2008-10-30 21:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-30 21:44 Johann Felix Soden [this message]
2008-10-31 20:40 ` Jason Baron

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:

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

  git send-email \
    --in-reply-to=1225403079.7328.7.camel@localhost \ \ \ \ \
    --subject='Re: [PATCH] driver core: Use '\''ret'\'' variable in unregister_dynamic_debug_module' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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).