mfd: rtsx: Remove redundant code

In function rtsx_pci_add_sg_tbl, the statement "ptr++" is useless.

Signed-off-by: Wei WANG <[email protected]>
Acked-by: Borislav Petkov <[email protected]>
Signed-off-by: Samuel Ortiz <[email protected]>
This commit is contained in:
Wei WANG 2013-01-29 15:21:33 +08:00 • committed by Samuel Ortiz
commit 9871c799d1

View file

@ -325,7 +325,6 @@ static void rtsx_pci_add_sg_tbl(struct rtsx_pcr *pcr,
val = ((u64)addr << 32) | ((u64)len << 12) | option;
put_unaligned_le64(val, ptr);
ptr++;
pcr->sgi++;
}