usb: gadget: tegra: fix Coverity issue
authorDeepak Nibade <dnibade@nvidia.com>
Tue, 3 Dec 2013 14:04:27 +0000 (19:04 +0530)
committerNitin Kumbhar <nkumbhar@nvidia.com>
Wed, 4 Dec 2013 10:21:34 +0000 (02:21 -0800)
commitb05c7788cc2f5893837d6544c988a55e48e167b0
tree3af3ea2d05e2281f0bb200c1902f01196eb160e3
parent670c0cf6b55c44828db8a1eb50ba65034ca1a279
usb: gadget: tegra: fix Coverity issue

fix Coverity issue of dereference after NULL check
Coverity id : 25261

Bug 1416640

Change-Id: I071dd86d87118c01b295efd687950017c461456f
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/337817
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Rohith Seelaboyina <rseelaboyina@nvidia.com>
Reviewed-by: Sumit Singh <sumsingh@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sri Krishna Chowdary <schowdary@nvidia.com>
Reviewed-by: Rakesh Babu Bodla <rbodla@nvidia.com>
Reviewed-by: Nitin Kumbhar <nkumbhar@nvidia.com>
drivers/usb/gadget/tegra_udc.c