kernel-fxtec-pro1x/drivers/media/pci/cx25821
Mauro Carvalho Chehab f327cabf7f [media] cx25821-alsa: get rid of a __must_check warning
The hole reason for __must_check is to not ignore an error.

However, a "ret" value is used at cx25821 just to avoid the
Kernel compilation to compain about it.

That, however, produces another warning (with W=1):

drivers/media/pci/cx25821/cx25821-alsa.c: In function 'cx25821_audio_fini':
drivers/media/pci/cx25821/cx25821-alsa.c:727:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]

With the current implementation of driver_for_each_device() and
cx25821_alsa_exit_callback(), there's actually just one
very unlikely condition where it will currently produce
an error: if driver_find() returns NULL.

Ok, there's not much that can be done, as it is on a driver's
function that returns void, but it can at least print some message
if the error happens.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2013-04-25 16:12:04 -03:00
..
cx25821-alsa.c [media] cx25821-alsa: get rid of a __must_check warning 2013-04-25 16:12:04 -03:00
cx25821-audio-upstream.c [media] cx25821: make cx25821_sram_channels const 2013-04-16 18:01:29 -03:00
cx25821-audio-upstream.h
cx25821-audio.h
cx25821-biffuncs.h [media] cx25821: get rid of warning: no previous prototype 2012-10-27 18:02:07 -02:00
cx25821-cards.c [media] cx25821: remove references to subdevices that aren't there 2013-04-16 18:09:18 -03:00
cx25821-core.c [media] cx25821: remove cx25821-audio-upstream.c from the Makefile 2013-04-16 18:13:06 -03:00
cx25821-gpio.c [media] cx25821: remove bogus dependencies 2013-04-16 18:03:27 -03:00
cx25821-i2c.c [media] cx25821: remove bogus dependencies 2013-04-16 18:03:27 -03:00
cx25821-medusa-defines.h
cx25821-medusa-reg.h
cx25821-medusa-video.c [media] cx25821: use core locking 2013-04-16 18:05:22 -03:00
cx25821-medusa-video.h
cx25821-reg.h
cx25821-sram.h
cx25821-video-upstream.c [media] cx25821: replace custom ioctls with write() 2013-04-16 18:12:34 -03:00
cx25821-video-upstream.h
cx25821-video.c [media] cx25821-video: declare cx25821_vidioc_s_std as static 2013-04-25 16:07:11 -03:00
cx25821-video.h [media] cx25821: setup output nodes correctly 2013-04-16 18:09:57 -03:00
cx25821.h [media] cx25821: replace custom ioctls with write() 2013-04-16 18:12:34 -03:00
Kconfig [media] cx25821: remove bogus dependencies 2013-04-16 18:03:27 -03:00
Makefile [media] cx25821: remove cx25821-audio-upstream.c from the Makefile 2013-04-16 18:13:06 -03:00