diff options
| author | James.Smart@Emulex.Com <James.Smart@Emulex.Com> | 2005-10-28 20:29:56 -0400 |
|---|---|---|
| committer | James Bottomley <jejb@mulgrave.(none)> | 2005-10-29 11:31:05 -0400 |
| commit | 4a0dfcdefb1cc81c0920dc98fbb82bb57326b16d (patch) | |
| tree | f99331f2d68c9e03608314f1c19f01e0c0e44e88 | |
| parent | a784efbff725b7f4893a8835ac7232c0e00d24e4 (diff) | |
[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, | |||
| 936 | * structure. The copy involves a byte-swap since the | 936 | * structure. The copy involves a byte-swap since the |
| 937 | * network byte order and pci byte orders are different. | 937 | * network byte order and pci byte orders are different. |
| 938 | */ | 938 | */ |
| 939 | entry = (IOCB_t *) IOCB_ENTRY(pring->rspringaddr, pring->rspidx); | 939 | entry = IOCB_ENTRY(pring->rspringaddr, pring->rspidx); |
| 940 | lpfc_sli_pcimem_bcopy((uint32_t *) entry, | 940 | lpfc_sli_pcimem_bcopy((uint32_t *) entry, |
| 941 | (uint32_t *) &rspiocbq.iocb, | 941 | (uint32_t *) &rspiocbq.iocb, |
| 942 | sizeof (IOCB_t)); | 942 | sizeof (IOCB_t)); |
