]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
staging: media: sdis: move open braces to the previous line
authorSantiago Ruano Rincón <santiagorr@riseup.net>
Tue, 30 Jul 2024 21:28:54 +0000 (06:28 +0900)
committerHans Verkuil <hverkuil@xs4all.nl>
Thu, 6 Mar 2025 16:28:26 +0000 (17:28 +0100)
Fix checkpatch error "ERROR: that open brace { should be on the previous
line" in ia_css_sdis.host.c:253 and :258.

Signed-off-by: Santiago Ruano Rincón <santiagorr@riseup.net>
Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
drivers/staging/media/atomisp/pci/isp/kernels/sdis/sdis_1.0/ia_css_sdis.host.c

index d516b686b8b8a8fef0a87a2018e67e4e238d8914..a1bea8bd1a397d6fce03b09edba17b8e3b1f71fb 100644 (file)
@@ -241,13 +241,11 @@ ia_css_get_dvs_statistics(
        assert(isp_stats);
 
        map = ia_css_isp_dvs_statistics_map_allocate(isp_stats, NULL);
-       if (map)
-       {
+       if (map) {
                hmm_load(isp_stats->data_ptr, map->data_ptr, isp_stats->size);
                ia_css_translate_dvs_statistics(host_stats, map);
                ia_css_isp_dvs_statistics_map_free(map);
-       } else
-       {
+       } else {
                IA_CSS_ERROR("out of memory");
                ret = -ENOMEM;
        }