Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S967231AbcJFJCc (ORCPT ); Thu, 6 Oct 2016 05:02:32 -0400 Received: from mout.web.de ([217.72.192.78]:54043 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S967212AbcJFJC0 (ORCPT ); Thu, 6 Oct 2016 05:02:26 -0400 Subject: [PATCH 08/54] md/raid0: Delete an unnecessary return statement in raid0_status() To: linux-raid@vger.kernel.org, Christoph Hellwig , Guoqing Jiang , Jens Axboe , Mike Christie , Neil Brown , Shaohua Li , Tomasz Majchrzak References: <566ABCD9.1060404@users.sourceforge.net> <786843ef-4b6f-eb04-7326-2f6f5b408826@users.sourceforge.net> Cc: LKML , kernel-janitors@vger.kernel.org, Julia Lawall From: SF Markus Elfring Message-ID: Date: Thu, 6 Oct 2016 11:01:57 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <786843ef-4b6f-eb04-7326-2f6f5b408826@users.sourceforge.net> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:5o8fWzqi4xaRgx7eT7c9mAeNBvmQMgtT0Di1Cvzyf+ZLPil0CaO 9u19LreS6zNpVkJqV0udF44kjqEo+2Ayu9yv+brKf86j1s1Lx6x5xkSsUAAS3V1WjX8QfKh /Qv8HdUydlvEcRVtDOP948IgmdGKRDA9xxc4ovUY2l20YJTrNQ0DfGQBIDkhj1K7G2/DU0p KFrNOB8Ksub7U+j4+EVjg== X-UI-Out-Filterresults: notjunk:1;V01:K0:+r1Lz6JcEfE=:VnBqbRjOTR2tgDTxVAO1/i avNWSxQCjeebc/DsgokdqPA274+pZtRf0p5pNpart13S5aVLMxUvcYqY+v/jv4OZzoVy2rYFV 8+VVwEfo70IhIhboLUnhVh/Q4DceOOmgRrlHqRj05I5dNfaEK/nP8yT3RMI9cU/4t03z3lJv5 D7LVMpxdNnB8gpqM7bk0LUqMilxRnHpPxj3LtzA6WZ44ipdH49daEcTRmzQEKdkyZcQxEqWfq sWekmIfRmjB/+2EIcnFtQz7FnfipWGzCxE4LM2ucCecmPDUjsLOkwuwMX8z5CvpTwv6riBQXv zhzzFqN0uHYF8Wf7oekEUwCHWIrTeY2WH+j67azcV3POj51cMunQWm9/X/mcDYyLVdig8x81R jSFXTTtKIp6ORl40f5XpjXa86D+ceLE6yyKRbHZZIf1JHVdB1MeVYNDiKdut/8E7dO4NOY61y E0ROFJky6Sey3x8MGCybV/+0GpDyaUSZ/RSNpls19NnIWWapYk2Rxs6hOOkinDv6OqWfL38/Z WcGR7PEAlCjc23OP/vvrh2eNTCZuZm7g0ymuShvwlgBVrJRDr0fowD0BFlTtpBnbQ51lltUtd SSudkQbmMoAa6ZAjR2xNBzW+k2dAZr3fvOq8GRX7BSY9wAxIvBBxljP3i43o0Xbt7j/meP7ED eMD5YB8n6iXP8Qca0Tpcwn0rLMeq7vFhqsmzr3hDvyorWkSUr0/aO0PI478hI17uSoeKQ1+2q PivGEw0AqxUP3E+iUPRyPDlrdP7ClTUS562f7dGR6zTfXsOVBEMO/0mQ90g3IPGA6rLQJFMEC gGJd7Fl Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 827 Lines: 28 From: Markus Elfring Date: Tue, 4 Oct 2016 14:34:33 +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 here. Signed-off-by: Markus Elfring --- drivers/md/raid0.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/md/raid0.c b/drivers/md/raid0.c index 9b76eae..1abe1ee 100644 --- a/drivers/md/raid0.c +++ b/drivers/md/raid0.c @@ -503,7 +503,6 @@ static void raid0_make_request(struct mddev *mddev, struct bio *bio) static void raid0_status(struct seq_file *seq, struct mddev *mddev) { seq_printf(seq, " %dk chunks", mddev->chunk_sectors / 2); - return; } static void *raid0_takeover_raid45(struct mddev *mddev) -- 2.10.1