[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <7f92b7a6-1814-02f5-4026-8cfcdc1dfc6a@users.sourceforge.net>
Date: Thu, 11 May 2017 15:48:36 +0200
From: SF Markus Elfring <elfring@...rs.sourceforge.net>
To: linux-c6x-dev@...ux-c6x.org, Aurelien Jacquiot <a-jacquiot@...com>,
Mark Salter <msalter@...hat.com>
Cc: LKML <linux-kernel@...r.kernel.org>,
kernel-janitors@...r.kernel.org
Subject: [PATCH 3/4] C6X/megamode-pic: Delete an unnecessary return statement
in megamod_pic_init()
From: Markus Elfring <elfring@...rs.sourceforge.net>
Date: Thu, 11 May 2017 15:05:41 +0200
The script "checkpatch.pl" pointed information out like the following.
WARNING: void function return statements are not generally useful
Thus remove such a statement in the affected function.
Signed-off-by: Markus Elfring <elfring@...rs.sourceforge.net>
---
arch/c6x/platforms/megamod-pic.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/arch/c6x/platforms/megamod-pic.c b/arch/c6x/platforms/megamod-pic.c
index cf0ebf25e42f..c49aa63289fa 100644
--- a/arch/c6x/platforms/megamod-pic.c
+++ b/arch/c6x/platforms/megamod-pic.c
@@ -339,6 +339,4 @@ void __init megamod_pic_init(void)
soc_ops.get_exception = get_exception;
soc_ops.assert_event = assert_event;
-
- return;
}
--
2.12.3
Powered by blists - more mailing lists