mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-23 05:31:28 +00:00
qla2x00t: Remove a superfluous cast
Signed-off-by: Bart Van Assche <bvanassche@acm.org> git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4487 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -2025,7 +2025,7 @@ static int q2t_pci_map_calc_cnt(struct q2t_prm *prm)
|
||||
|
||||
sBUG_ON(prm->cmd->sg_cnt == 0);
|
||||
|
||||
prm->sg = (struct scatterlist *)prm->cmd->sg;
|
||||
prm->sg = prm->cmd->sg;
|
||||
prm->seg_cnt = pci_map_sg(prm->tgt->ha->pdev, prm->cmd->sg,
|
||||
prm->cmd->sg_cnt, prm->cmd->dma_data_direction);
|
||||
if (unlikely(prm->seg_cnt == 0))
|
||||
|
||||
Reference in New Issue
Block a user