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>
This commit is contained in:

committed by
Mauro Carvalho Chehab

parent
7b69f2cb91
commit
9aa4d4ea24
@@ -227,7 +227,7 @@ int go7007_snd_init(struct go7007 *go)
|
||||
{
|
||||
static int dev;
|
||||
struct go7007_snd *gosnd;
|
||||
int ret = 0;
|
||||
int ret;
|
||||
|
||||
if (dev >= SNDRV_CARDS)
|
||||
return -ENODEV;
|
||||
|
Reference in New Issue
Block a user