Skip to content

Commit 9c1cde7

Browse files
santiagorrhverkuil
authored andcommitted
staging: media: sdis: move open braces to the previous line
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 <[email protected]> Reviewed-by: Dan Carpenter <[email protected]> Signed-off-by: Hans Verkuil <[email protected]>
1 parent 5b1b37e commit 9c1cde7

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

drivers/staging/media/atomisp/pci/isp/kernels/sdis/sdis_1.0/ia_css_sdis.host.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -241,13 +241,11 @@ ia_css_get_dvs_statistics(
241241
assert(isp_stats);
242242

243243
map = ia_css_isp_dvs_statistics_map_allocate(isp_stats, NULL);
244-
if (map)
245-
{
244+
if (map) {
246245
hmm_load(isp_stats->data_ptr, map->data_ptr, isp_stats->size);
247246
ia_css_translate_dvs_statistics(host_stats, map);
248247
ia_css_isp_dvs_statistics_map_free(map);
249-
} else
250-
{
248+
} else {
251249
IA_CSS_ERROR("out of memory");
252250
ret = -ENOMEM;
253251
}

0 commit comments

Comments
 (0)