]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd47feb01bbbd8b37afa537edf9a257002b2d3688
tree13f92938541dd0ef044740d7be78ec655bc07f10
parentd3905f5b25aa1ab9944daef01adf9516d63429ad
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