Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

media: usb: pvrusb2: fix inconsistent indenting

This resolves a new smatch warning;

drivers/media/usb/pvrusb2/pvrusb2-hdw.c:3293 pvr2_hdw_get_tuner_status() warn: inconsistent indenting

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>

authored by

Hans Verkuil and committed by
Mauro Carvalho Chehab
935ae6f8 74a5a66f

+4 -2
+4 -2
drivers/media/usb/pvrusb2/pvrusb2-hdw.c
··· 3285 3285 /* Return information about the tuner */ 3286 3286 int pvr2_hdw_get_tuner_status(struct pvr2_hdw *hdw,struct v4l2_tuner *vtp) 3287 3287 { 3288 - LOCK_TAKE(hdw->big_lock); do { 3288 + LOCK_TAKE(hdw->big_lock); 3289 + do { 3289 3290 if (hdw->tuner_signal_stale) { 3290 3291 pvr2_hdw_status_poll(hdw); 3291 3292 } 3292 3293 memcpy(vtp,&hdw->tuner_signal_info,sizeof(struct v4l2_tuner)); 3293 - } while (0); LOCK_GIVE(hdw->big_lock); 3294 + } while (0); 3295 + LOCK_GIVE(hdw->big_lock); 3294 3296 return 0; 3295 3297 } 3296 3298