Skip to content

Commit 705b808

Browse files
Ming Leiaxboe
authored andcommitted
ublk: remove two unused fields from 'struct ublk_queue'
Remove two unused fields(`io_addr` & `max_io_sz`) from `struct ublk_queue`. Reviewed-by: Caleb Sander Mateos <[email protected]> Signed-off-by: Ming Lei <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
1 parent 7e2fe01 commit 705b808

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/block/ublk_drv.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,6 @@ struct ublk_queue {
143143
struct task_struct *ubq_daemon;
144144
char *io_cmd_buf;
145145

146-
unsigned long io_addr; /* mapped vm address */
147-
unsigned int max_io_sz;
148146
bool force_abort;
149147
bool timeout;
150148
bool canceling;

0 commit comments

Comments
 (0)