diff options
author | Jan Kara <jack@suse.cz> | 2022-06-23 09:48:29 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-06-27 14:29:12 +0200 |
commit | fc25545e17bd74befe0b8ab2c65ac84936be5066 (patch) | |
tree | bcd004bccac1a74ad3a2a55e8babf2ba42189c32 /include | |
parent | block: Generalize get_current_ioprio() for any task (diff) | |
download | linux-fc25545e17bd74befe0b8ab2c65ac84936be5066.tar.xz linux-fc25545e17bd74befe0b8ab2c65ac84936be5066.zip |
block: Make ioprio_best() static
Nobody outside of block/ioprio.c uses it.
Reviewed-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Tested-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20220623074840.5960-4-jack@suse.cz
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/ioprio.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/ioprio.h b/include/linux/ioprio.h index 9752cf4a9c7c..7578d4f6a969 100644 --- a/include/linux/ioprio.h +++ b/include/linux/ioprio.h @@ -60,11 +60,6 @@ static inline int get_current_ioprio(void) return __get_task_ioprio(current); } -/* - * For inheritance, return the highest of the two given priorities - */ -extern int ioprio_best(unsigned short aprio, unsigned short bprio); - extern int set_task_ioprio(struct task_struct *task, int ioprio); #ifdef CONFIG_BLOCK |