diff options
author | Christoph Hellwig <hch@lst.de> | 2022-07-21 15:09:14 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-07-21 10:52:12 -0600 |
commit | cfee7e4de2870017a4cbfdcf2d17329cc025b742 (patch) | |
tree | 01211396be7cf0212800601453ce05b20ee40536 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | |
parent | 34d8f2bea52928626aefd6f7e0ba7e69f67c8e62 (diff) |
ublk: fold __ublk_create_dev into ublk_ctrl_add_dev
Fold __ublk_create_dev into its only caller to avoid the packing and
unpacking of the return value into an ERR_PTR.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Reviewed-by: ZiyangZhang <ZiyangZhang@linux.alibaba.com>
Link: https://lore.kernel.org/r/20220721130916.1869719-7-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions