From: Mauro Carvalho Chehab Date: Mon, 13 Jan 2014 17:30:24 +0000 (-0200) Subject: [media] go7007-usb: only use go->dev after allocated X-Git-Tag: v3.14-rc1~20^2~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c61c3094a630b2f795addc3a74fbd5ff7f704ca9;p=pandora-kernel.git [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 --- Reading git-diff-tree failed