Page MenuHomeFreeBSD

D42538.id.diff
No OneTemporary

D42538.id.diff

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

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)

Event Timeline