[PATCH] staging: media: atomisp: fix semicolon.cocci warnings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 Remove unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

Signed-off-by: Julia Lawall <julia.lawall@xxxxxxx>
Signed-off-by: Fengguang Wu <fengguang.wu@xxxxxxxxx>
---

The actual report raises a bunch of issues, but I didn't receive any more
detail about them:

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git
staging-testing
head:   940f6daec092819674ce26f1b6f0be4bbb9923a8
commit: 49637a458b61629672a8ae19fdae2058c64815cf [393/487] staging: media:
atomisp: remove '.' from pci Makefile
:::::: branch date: 2 hours ago
:::::: commit date: 2 days ago

>> drivers/staging/media/atomisp/pci/atomisp2/atomisp_cmd.c:5554:1-3:
WARNING: possible condition with no effect (if == else)
--
>> drivers/staging/media/atomisp/pci/atomisp2/atomisp_cmd.c:4428:2-4:
ERROR: test of a variable/field address
--
>> drivers/staging/media/atomisp/pci/atomisp2/atomisp_cmd.c:1774:2-28:
code aligned with following code on line 1776

(This one means that an if may be missing braces)

--
>>
drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c:551:3-4:
Unneeded semicolon
--
>>
drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/frame/src/frame.c:200:2-3:
Unneeded semicolon



 atomisp_compat_css20.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c
+++ b/drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c
@@ -548,7 +548,7 @@ static int __destroy_stream(struct atomi
 			}

 			usleep_range(100, 200);
-		};
+		}
 	}

 	stream_env->stream_state = CSS_STREAM_STOPPED;
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux