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 /fs/erofs/zdata.c | |
parent | f326ea63ecc683b3dc88d8ee4f598598d4ed3b39 (diff) |
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 'fs/erofs/zdata.c')
0 files changed, 0 insertions, 0 deletions