lkml.org 
[lkml]   [2022]   [Aug]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 5.15 725/779] block: remove the struct blk_queue_ctx forward declaration
    Date
    From: Christoph Hellwig <hch@lst.de>

    [ Upstream commit 9778ac77c2027827ffdbb33d3e936b3a0ae9f0f9 ]

    This type doesn't exist at all, so no need to forward declare it.

    Signed-off-by: Christoph Hellwig <hch@lst.de>
    Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
    Link: https://lore.kernel.org/r/20210920123328.1399408-12-hch@lst.de
    Signed-off-by: Jens Axboe <axboe@kernel.dk>
    Signed-off-by: Sasha Levin <sashal@kernel.org>
    ---
    include/linux/blkdev.h | 2 --
    1 file changed, 2 deletions(-)

    diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h
    index aebe67ed7a73..8863b4a378af 100644
    --- a/include/linux/blkdev.h
    +++ b/include/linux/blkdev.h
    @@ -261,8 +261,6 @@ static inline unsigned short req_get_ioprio(struct request *req)

    #include <linux/elevator.h>

    -struct blk_queue_ctx;
    -
    struct bio_vec;

    enum blk_eh_timer_return {
    --
    2.35.1


    \
     
     \ /
      Last update: 2022-08-15 21:55    [W:2.575 / U:0.968 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site