summaryrefslogtreecommitdiff
path: root/drivers/mfd/rtsx_pcr.c
diff options
context:
space:
mode:
authorWei WANG <wei_wang@realsil.com.cn>2013-01-29 11:21:33 +0400
committerSamuel Ortiz <sameo@linux.intel.com>2013-02-14 03:22:56 +0400
commit9871c799d15dfb1609582bf8b2868217802a2100 (patch)
treee1ae7b3524b2c387fb5aa7ef06e3523a754d44be /drivers/mfd/rtsx_pcr.c
parent3730bb8b65f9ee8b7097021f8073b80511af770d (diff)
downloadlinux-9871c799d15dfb1609582bf8b2868217802a2100.tar.xz
mfd: rtsx: Remove redundant code
In function rtsx_pci_add_sg_tbl, the statement "ptr++" is useless. Signed-off-by: Wei WANG <wei_wang@realsil.com.cn> Acked-by: Borislav Petkov <bp@alien8.de> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/rtsx_pcr.c')
-rw-r--r--drivers/mfd/rtsx_pcr.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mfd/rtsx_pcr.c b/drivers/mfd/rtsx_pcr.c
index 9fc57009e228..c021ce3df955 100644
--- a/drivers/mfd/rtsx_pcr.c
+++ b/drivers/mfd/rtsx_pcr.c
@@ -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++;
}