Skip to content

Commit

Permalink
mfd: rtsx: Remove redundant code
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Wei WANG authored and Samuel Ortiz committed Feb 13, 2013
1 parent 3730bb8 commit 9871c79
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/mfd/rtsx_pcr.c
Original file line number Diff line number Diff line change
Expand Up @@ -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++;
}

Expand Down

0 comments on commit 9871c79

Please sign in to comment.