All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] block, bfq: cleanup the repeated declaration
@ 2021-08-25  6:19 Shaokun Zhang
  2021-08-25 12:45 ` Jens Axboe
  0 siblings, 1 reply; 2+ messages in thread
From: Shaokun Zhang @ 2021-08-25  6:19 UTC (permalink / raw)
  To: linux-block; +Cc: Shaokun Zhang, Paolo Valente, Jens Axboe

Function 'bfq_entity_to_bfqq' is declared twice, so remove the
repeated declaration and blank line.

Cc: Paolo Valente <paolo.valente@linaro.org>
Cc: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Shaokun Zhang <zhangshaokun@hisilicon.com>
---
 block/bfq-iosched.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/block/bfq-iosched.h b/block/bfq-iosched.h
index 385e28a843d1..a73488eec8a4 100644
--- a/block/bfq-iosched.h
+++ b/block/bfq-iosched.h
@@ -955,8 +955,6 @@ struct bfq_group {
 };
 #endif
 
-struct bfq_queue *bfq_entity_to_bfqq(struct bfq_entity *entity);
-
 /* --------------- main algorithm interface ----------------- */
 
 #define BFQ_SERVICE_TREE_INIT	((struct bfq_service_tree)		\
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] block, bfq: cleanup the repeated declaration
  2021-08-25  6:19 [PATCH] block, bfq: cleanup the repeated declaration Shaokun Zhang
@ 2021-08-25 12:45 ` Jens Axboe
  0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2021-08-25 12:45 UTC (permalink / raw)
  To: Shaokun Zhang, linux-block; +Cc: Paolo Valente

On 8/25/21 12:19 AM, Shaokun Zhang wrote:
> Function 'bfq_entity_to_bfqq' is declared twice, so remove the
> repeated declaration and blank line.

Applied, thanks.

-- 
Jens Axboe


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-08-25 12:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-25  6:19 [PATCH] block, bfq: cleanup the repeated declaration Shaokun Zhang
2021-08-25 12:45 ` Jens Axboe

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.