Remove unneeded semicolon.

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

Signed-off-by: Julia Lawall <julia.law...@lip6.fr>
Signed-off-by: Fengguang Wu <fengguang...@intel.com>
---

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
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to