diff options
author | James.Smart@Emulex.Com <James.Smart@Emulex.Com> | 2005-10-29 02:29:56 +0200 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.(none)> | 2005-10-29 17:31:05 +0200 |
commit | 4a0dfcdefb1cc81c0920dc98fbb82bb57326b16d (patch) | |
tree | f99331f2d68c9e03608314f1c19f01e0c0e44e88 | |
parent | [SCSI] lpfc: Adjust lpfc_scsi_buf allocation (diff) | |
download | linux-4a0dfcdefb1cc81c0920dc98fbb82bb57326b16d.tar.xz linux-4a0dfcdefb1cc81c0920dc98fbb82bb57326b16d.zip |
[SCSI] lpfc: Remove unneeded IOCB_t * cast
Signed-off-by: James Smart <James.Smart@emulex.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-rw-r--r-- | drivers/scsi/lpfc/lpfc_sli.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/lpfc/lpfc_sli.c b/drivers/scsi/lpfc/lpfc_sli.c index e09398dbe779..b53ed3abc6c9 100644 --- a/drivers/scsi/lpfc/lpfc_sli.c +++ b/drivers/scsi/lpfc/lpfc_sli.c @@ -936,7 +936,7 @@ lpfc_sli_handle_fast_ring_event(struct lpfc_hba * phba, * structure. The copy involves a byte-swap since the * network byte order and pci byte orders are different. */ - entry = (IOCB_t *) IOCB_ENTRY(pring->rspringaddr, pring->rspidx); + entry = IOCB_ENTRY(pring->rspringaddr, pring->rspidx); lpfc_sli_pcimem_bcopy((uint32_t *) entry, (uint32_t *) &rspiocbq.iocb, sizeof (IOCB_t)); |