summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Li <yang.lee@linux.alibaba.com>2022-11-07 09:22:55 +0300
committerJens Axboe <axboe@kernel.dk>2022-11-07 17:21:45 +0300
commit5b2560c4c20e6d6933625b4b56f6843d6c7faf0f (patch)
tree942a87973f89d025cb09318483006d5a5cc9ae84
parent4046728253751adb41b05e85ebd686210efde1ad (diff)
downloadlinux-5b2560c4c20e6d6933625b4b56f6843d6c7faf0f.tar.xz
block: Fix some kernel-doc comments
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 Fixes: ffb86425ee2c ("block: don't check for required features in elevator_match") Reported-by: Abaci Robot <abaci@linux.alibaba.com> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> Link: https://lore.kernel.org/r/20221107062255.2685-1-yang.lee@linux.alibaba.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r--block/elevator.c1
1 files changed, 0 insertions, 1 deletions
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.