diff options
author | Guoqing Jiang <guoqing.jiang@linux.dev> | 2023-05-24 09:00:21 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-06-12 03:48:42 +0200 |
commit | d6e94913cb1cb4b4d1d737f72b5cef10b13395ff (patch) | |
tree | 97bc5eaa548c826c0f8556f339196b300ba624e1 /drivers/fsi/fsi-master-hub.c | |
parent | block/rnbd-srv: remove unused header (diff) | |
download | linux-d6e94913cb1cb4b4d1d737f72b5cef10b13395ff.tar.xz linux-d6e94913cb1cb4b4d1d737f72b5cef10b13395ff.zip |
block/rnbd: introduce rnbd_access_modes
Add one new array (marked with __maybe_unused to prevent gcc warning about
"defined but not used" with W=1), then we can remove rnbd_access_mode_str
and rnbd-common.c accordingly.
Signed-off-by: Guoqing Jiang <guoqing.jiang@linux.dev>
Acked-by: Jack Wang <jinpu.wang@ionos.com>
Link: https://lore.kernel.org/r/20230524070026.2932-4-guoqing.jiang@linux.dev
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/fsi/fsi-master-hub.c')
0 files changed, 0 insertions, 0 deletions