mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
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:
parent
3730bb8b65
commit
9871c799d1
1 changed files with 0 additions and 1 deletions
|
|
@ -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++;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue