[media] go7007-usb: only use go->dev after allocated
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Mon, 13 Jan 2014 17:30:24 +0000 (15:30 -0200)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Mon, 13 Jan 2014 18:28:17 +0000 (16:28 -0200)
commitc61c3094a630b2f795addc3a74fbd5ff7f704ca9
treeb871fe2f56322a8cdf2c9d8fb2f13acbd7644f7e
parente4a3bc1c2c1aebb09ef12f0eb52cf5e6a1d5b9d3
[media] go7007-usb: only use go->dev after allocated

Fixes those warnings:
drivers/staging/media/go7007/go7007-usb.c: In function 'go7007_usb_probe':
drivers/staging/media/go7007/go7007-usb.c:1060: warning: 'go' is used uninitialized in this function

While here, comment a code that will never run.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/staging/media/go7007/go7007-usb.c