diff options
author | Wei WANG <wei_wang@realsil.com.cn> | 2013-01-29 15:21:33 +0800 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2013-02-14 00:22:56 +0100 |
commit | 9871c799d15dfb1609582bf8b2868217802a2100 (patch) | |
tree | e1ae7b3524b2c387fb5aa7ef06e3523a754d44be /drivers/mfd/rtsx_pcr.c | |
parent | 3730bb8b65f9ee8b7097021f8073b80511af770d (diff) | |
download | talos-obmc-linux-9871c799d15dfb1609582bf8b2868217802a2100.tar.gz talos-obmc-linux-9871c799d15dfb1609582bf8b2868217802a2100.zip |
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.c | 1 |
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++; } |