mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Christoph Jaeger <christophjaeger@linux.com>
To: sameo@linux.intel.com, lee.jones@linaro.org
Cc: linux-kernel@vger.kernel.org,
	Christoph Jaeger <christophjaeger@linux.com>
Subject: [PATCH] mfd: cleanup asic3_init()
Date: Wed,  9 Apr 2014 09:24:37 +0200	[thread overview]
Message-ID: <1397028277-30661-1-git-send-email-christophjaeger@linux.com> (raw)

Remove superfluous variable.

Signed-off-by: Christoph Jaeger <christophjaeger@linux.com>
---
 drivers/mfd/asic3.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/mfd/asic3.c b/drivers/mfd/asic3.c
index 9f6294f..b795184 100644
--- a/drivers/mfd/asic3.c
+++ b/drivers/mfd/asic3.c
@@ -1071,9 +1071,7 @@ static struct platform_driver asic3_device_driver = {
 
 static int __init asic3_init(void)
 {
-	int retval = 0;
-	retval = platform_driver_probe(&asic3_device_driver, asic3_probe);
-	return retval;
+	return platform_driver_probe(&asic3_device_driver, asic3_probe);
 }
 
 subsys_initcall(asic3_init);
-- 
1.9.0


                 reply	other threads:[~2014-04-09  7:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1397028277-30661-1-git-send-email-christophjaeger@linux.com \
    --to=christophjaeger@linux.com \
    --cc=lee.jones@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sameo@linux.intel.com \
    /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®