Commit 9871c799 authored by Wei WANG's avatar Wei WANG Committed by Samuel Ortiz

mfd: rtsx: Remove redundant code

In function rtsx_pci_add_sg_tbl, the statement "ptr++" is useless.
Signed-off-by: default avatarWei WANG <wei_wang@realsil.com.cn>
Acked-by: default avatarBorislav Petkov <bp@alien8.de>
Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent 3730bb8b
...@@ -325,7 +325,6 @@ static void rtsx_pci_add_sg_tbl(struct rtsx_pcr *pcr, ...@@ -325,7 +325,6 @@ static void rtsx_pci_add_sg_tbl(struct rtsx_pcr *pcr,
val = ((u64)addr << 32) | ((u64)len << 12) | option; val = ((u64)addr << 32) | ((u64)len << 12) | option;
put_unaligned_le64(val, ptr); put_unaligned_le64(val, ptr);
ptr++;
pcr->sgi++; pcr->sgi++;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment