diff options
author | Jing Huang <huangj@brocade.com> | 2010-12-27 00:50:10 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-12-31 10:43:31 -0500 |
commit | 8f4bfadd200477acb6dcf41a45919dd37d01a6db (patch) | |
tree | ec25c381eb99246efbc4fb0911529b229323df0f /drivers/scsi/bfa/bfa_fcpim.c | |
parent | 2f2f40a45845e52fbbe07bcd3e09ccff44feb01b (diff) |
[SCSI] bfa: remove unused defintions and misc cleanups
This patch removes unused functions, data strucutres, and definitions. It
also includes misc comment and formatting cleanups.
Signed-off-by: Jing Huang <huangj@brocade.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/bfa/bfa_fcpim.c')
-rw-r--r-- | drivers/scsi/bfa/bfa_fcpim.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/bfa/bfa_fcpim.c b/drivers/scsi/bfa/bfa_fcpim.c index a4989a02e494..9c410b21db6d 100644 --- a/drivers/scsi/bfa/bfa_fcpim.c +++ b/drivers/scsi/bfa/bfa_fcpim.c | |||
@@ -2180,7 +2180,7 @@ bfa_ioim_send_ioreq(struct bfa_ioim_s *ioim) | |||
2180 | else | 2180 | else |
2181 | m->cmnd.iodir = FCP_IODIR_NONE; | 2181 | m->cmnd.iodir = FCP_IODIR_NONE; |
2182 | 2182 | ||
2183 | m->cmnd.cdb = *(scsi_cdb_t *) cmnd->cmnd; | 2183 | m->cmnd.cdb = *(struct scsi_cdb_s *) cmnd->cmnd; |
2184 | fcp_dl = scsi_bufflen(cmnd); | 2184 | fcp_dl = scsi_bufflen(cmnd); |
2185 | m->cmnd.fcp_dl = cpu_to_be32(fcp_dl); | 2185 | m->cmnd.fcp_dl = cpu_to_be32(fcp_dl); |
2186 | 2186 | ||