media: dvbdev: remove double-unlock
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Thu, 28 Mar 2019 18:36:14 +0000 (14:36 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Thu, 28 Mar 2019 18:36:14 +0000 (14:36 -0400)
commit122d0e8dd050cc5dc3fb9e9b5f2dee3c5276ce35
treece81fdb02e5dce0a150cd86af53a53c5d987870c
parentded716267196862809e5926072adc962a611a1e3
media: dvbdev: remove double-unlock

As warned by smatch:
drivers/media/dvb-core/dvbdev.c: drivers/media/dvb-core/dvbdev.c:529 dvb_register_device() error: double unlock 'sem:&minor_rwsem'

Reported-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/dvb-core/dvbdev.c