git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c84d364
)
usb: otg: Remove the unneeded NULL check
author
Shubhrajyoti D
<shubhrajyoti@ti.com>
Tue, 7 Aug 2012 14:26:30 +0000
(19:56 +0530)
committer
Felipe Balbi
<balbi@ti.com>
Thu, 9 Aug 2012 11:36:58 +0000
(14:36 +0300)
The function usb_add_phy trusts the sanity of the caller.
Also it accesses x after the NULL check.
Remove the unneeded check.
Signed-off-by: Shubhrajyoti D <shubhrajyoti@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
No differences found