block: remove a superflous queue kobject reference
authorChristoph Hellwig <hch@lst.de>
Tue, 28 Jun 2022 17:18:46 +0000 (19:18 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 28 Jun 2022 17:32:42 +0000 (11:32 -0600)
commit060f131e9c438837f9792e456fae424e621fb881
tree13f92938541dd0ef044740d7be78ec655bc07f10
parentcc5c516df028b221d94c65c47c5ae8d20f61b6f9
block: remove a superflous queue kobject reference

kobject_add already adds a reference to the parent that is dropped
on deletion, so don't bother grabbing another one.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20220628171850.1313069-3-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-sysfs.c