diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-03-31 19:47:24 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-04-02 11:53:58 +0300 |
commit | 43ba3d4af7a73ae958207caada6af0612d67f08e (patch) | |
tree | 985c1b687af6ca54fea0312caee9691a60e3c6d9 /drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | |
parent | f326ea63ecc683b3dc88d8ee4f598598d4ed3b39 (diff) | |
download | linux-43ba3d4af7a73ae958207caada6af0612d67f08e.tar.xz |
pktcdvd: simplify the class_pktcdvd logic
There is no need to dynamically create and destroy the class_pktcdvd
structure, just make it static and remove the memory allocation logic
which simplifies and cleans up the logic a lot.
Cc: linux-block@vger.kernel.org
Cc: Jens Axboe <axboe@kernel.dk>
Link: https://lore.kernel.org/r/20230331164724.319703-1-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c')
0 files changed, 0 insertions, 0 deletions