From patchwork Fri Nov 4 06:20:14 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Li X-Patchwork-Id: 13031392 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B722CC4332F for ; Fri, 4 Nov 2022 06:20:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231128AbiKDGUX (ORCPT ); Fri, 4 Nov 2022 02:20:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49372 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231136AbiKDGUT (ORCPT ); Fri, 4 Nov 2022 02:20:19 -0400 Received: from out30-54.freemail.mail.aliyun.com (out30-54.freemail.mail.aliyun.com [115.124.30.54]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6A21F2A256; Thu, 3 Nov 2022 23:20:18 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R281e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046051;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=5;SR=0;TI=SMTPD_---0VTve9Ku_1667542815; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0VTve9Ku_1667542815) by smtp.aliyun-inc.com; Fri, 04 Nov 2022 14:20:16 +0800 From: Yang Li To: axboe@kernel.dk Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, Yang Li , Abaci Robot Subject: [PATCH -next] block: Fix some kernel-doc comments Date: Fri, 4 Nov 2022 14:20:14 +0800 Message-Id: <20221104062014.62656-1-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org Remove the description of @required_features in elevator_match() to clear the below warning: block/elevator.c:103: warning: Excess function parameter 'required_features' description in 'elevator_match' Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2734 Reported-by: Abaci Robot Signed-off-by: Yang Li --- block/elevator.c | 1 - 1 file changed, 1 deletion(-) diff --git a/block/elevator.c b/block/elevator.c index 800e0038be0d..a5bdc3b1e7e5 100644 --- a/block/elevator.c +++ b/block/elevator.c @@ -94,7 +94,6 @@ static inline bool elv_support_features(struct request_queue *q, * elevator_match - Test an elevator name and features * @e: Scheduler to test * @name: Elevator name to test - * @required_features: Features that the elevator must provide * * Return true if the elevator @e name matches @name and if @e provides all * the features specified by @required_features.