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>
此提交包含在:
Markus Elfring
2018-02-22 15:45:47 -05:00
提交者 Mauro Carvalho Chehab
父節點 7b69f2cb91
當前提交 9aa4d4ea24
共有 7 個檔案被更改,包括 7 行新增7 行删除

查看文件

@@ -1174,7 +1174,7 @@ static int tm6000_usb_probe(struct usb_interface *interface,
{
struct usb_device *usbdev;
struct tm6000_core *dev;
int i, rc = 0;
int i, rc;
int nr = 0;
char *speed;