Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F161955043
D42538.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D42538.id.diff
View Options
diff --git a/sys/dev/mpi3mr/mpi3mr.h b/sys/dev/mpi3mr/mpi3mr.h
--- a/sys/dev/mpi3mr/mpi3mr.h
+++ b/sys/dev/mpi3mr/mpi3mr.h
@@ -456,19 +456,13 @@
union ccb *ccb;
void *data;
u_int length;
- u_int out_len;
- struct uio uio;
- struct iovec iovec[MPI3MR_IOVEC_COUNT];
- u_int max_segs;
struct mpi3mr_target *targ;
- u_int lun;
u_int data_dir;
u_int state;
bus_dmamap_t dmamap;
struct scsi_sense_data *sense;
struct callout callout;
bool callout_owner;
- mpi3mr_cmd_callback_t *timeout_handler;
U16 hosttag;
U8 req_qidx;
Mpi3SCSIIORequest_t io_request;
diff --git a/sys/dev/mpi3mr/mpi3mr.c b/sys/dev/mpi3mr/mpi3mr.c
--- a/sys/dev/mpi3mr/mpi3mr.c
+++ b/sys/dev/mpi3mr/mpi3mr.c
@@ -4985,12 +4985,9 @@
cmd->data_dir = 0;
cmd->ccb = NULL;
cmd->targ = NULL;
- cmd->max_segs = 0;
- cmd->lun = 0;
cmd->state = MPI3MR_CMD_STATE_BUSY;
cmd->data = NULL;
cmd->length = 0;
- cmd->out_len = 0;
out:
mtx_unlock(&sc->cmd_pool_lock);
return cmd;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jul 9, 8:11 AM (15 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34881813
Default Alt Text
D42538.id.diff (1 KB)
Attached To
Mode
D42538: mpi3mr: Remove unused fields in struct mpi3mr_cmd
Attached
Detach File
Event Timeline
Log In to Comment