projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3730bb8
)
mfd: rtsx: Remove redundant code
author
Wei WANG
<wei_wang@realsil.com.cn>
Tue, 29 Jan 2013 07:21:33 +0000
(15:21 +0800)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Wed, 13 Feb 2013 23:22:56 +0000
(
00:22
+0100)
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>
drivers/mfd/rtsx_pcr.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mfd/rtsx_pcr.c
b/drivers/mfd/rtsx_pcr.c
index 9fc57009e22813fe257481b39352533f2fbd5d45..c021ce3df95519cdac6a9793feca3e40e613915b 100644
(file)
--- 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++;
}