mirror of https://gitee.com/openkylin/linux.git
drivers/dma: Remove unnecessary semicolons
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
This commit is contained in:
parent
e3d433040e
commit
c019894efc
|
@ -114,7 +114,7 @@ static void dmatest_init_srcs(u8 **bufs, unsigned int start, unsigned int len)
|
|||
buf[i] = PATTERN_SRC | (~i & PATTERN_COUNT_MASK);
|
||||
for ( ; i < start + len; i++)
|
||||
buf[i] = PATTERN_SRC | PATTERN_COPY
|
||||
| (~i & PATTERN_COUNT_MASK);;
|
||||
| (~i & PATTERN_COUNT_MASK);
|
||||
for ( ; i < test_buf_size; i++)
|
||||
buf[i] = PATTERN_SRC | (~i & PATTERN_COUNT_MASK);
|
||||
buf++;
|
||||
|
|
|
@ -1176,7 +1176,7 @@ static int __devinit mv_xor_probe(struct platform_device *pdev)
|
|||
if (dma_has_cap(DMA_MEMSET, dma_dev->cap_mask))
|
||||
dma_dev->device_prep_dma_memset = mv_xor_prep_dma_memset;
|
||||
if (dma_has_cap(DMA_XOR, dma_dev->cap_mask)) {
|
||||
dma_dev->max_xor = 8; ;
|
||||
dma_dev->max_xor = 8;
|
||||
dma_dev->device_prep_dma_xor = mv_xor_prep_dma_xor;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue