OSDN Git Service

media: usb: don't initialize vars if not needed
authorMarkus Elfring <elfring@users.sourceforge.net>
Thu, 22 Feb 2018 20:45:47 +0000 (15:45 -0500)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 6 Mar 2018 15:39:59 +0000 (10:39 -0500)
commit9aa4d4ea244481fe98eb181ec5d7a9f7cb86f076
tree0a80ffce88f9ca6775796c57f49f1686ea4a9a16
parent7b69f2cb91319abdacf37be501db2eae45112a09
media: usb: don't initialize vars if not needed

Some local variables will be set to an appropriate value before usage.
Thus omit explicit initialisations at the beginning of these functions.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Acked-by: Alexey Klimov <klimov.linux@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/radio/radio-mr800.c
drivers/media/radio/radio-wl1273.c
drivers/media/radio/si470x/radio-si470x-usb.c
drivers/media/usb/cx231xx/cx231xx-cards.c
drivers/media/usb/cx231xx/cx231xx-dvb.c
drivers/media/usb/go7007/snd-go7007.c
drivers/media/usb/tm6000/tm6000-cards.c