linux/drivers/media/usb/tm6000
Mauro Carvalho Chehab 485bdbb6b8 [media] tm6000: remove needless check
Smatch reports a warning:
	drivers/media/usb/tm6000/tm6000-video.c:646 tm6000_prepare_isoc() error: we previously assumed 'dev->urb_buffer' could be null (see line 624)

This is not really a problem, but it actually shows that the check
if urb_buffer is NULL is being done twice: at the if and at
tm6000_alloc_urb_buffers().

We don't need to do it twice. So, remove the extra check. The code
become cleaner, and, as a collateral effect, smatch becomes happy.

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2015-06-05 11:26:37 -03:00
..
Kconfig
Makefile
tm6000-alsa.c Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media 2014-04-04 09:50:07 -07:00
tm6000-cards.c [media] v4l: subdev: Move [gs]_std operation to video ops 2014-05-24 17:11:26 -03:00
tm6000-core.c [media] tm6000: check an allocation for failure 2013-02-08 14:46:56 -02:00
tm6000-dvb.c [media, edac] Change my email address 2014-02-07 08:03:07 -02:00
tm6000-i2c.c
tm6000-input.c [media] rc-core: rename dev->scanmask to dev->scancode_mask 2014-07-25 19:10:43 -03:00
tm6000-regs.h
tm6000-stds.c [media, edac] Change my email address 2014-02-07 08:03:07 -02:00
tm6000-usb-isoc.h
tm6000-video.c [media] tm6000: remove needless check 2015-06-05 11:26:37 -03:00
tm6000.h [media] tm6000: embed video_device 2015-04-02 23:49:49 -03:00