diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-03-31 18:47:24 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-04-02 10:53:58 +0200 |
commit | 43ba3d4af7a73ae958207caada6af0612d67f08e (patch) | |
tree | 985c1b687af6ca54fea0312caee9691a60e3c6d9 /drivers/net/hyperv | |
parent | f326ea63ecc683b3dc88d8ee4f598598d4ed3b39 (diff) | |
download | linux-stable-43ba3d4af7a73ae958207caada6af0612d67f08e.tar.gz linux-stable-43ba3d4af7a73ae958207caada6af0612d67f08e.tar.bz2 linux-stable-43ba3d4af7a73ae958207caada6af0612d67f08e.zip |
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/net/hyperv')
0 files changed, 0 insertions, 0 deletions