]> git.baikalelectronics.ru Git - kernel.git/commit
usb: musb: omap2430: kill redundant assignments in omap2430_probe()
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Tue, 8 Jan 2013 19:13:40 +0000 (22:13 +0300)
committerFelipe Balbi <balbi@ti.com>
Thu, 17 Jan 2013 13:45:43 +0000 (15:45 +0200)
commitabe3319d693b2a7bb52267a1158244a282d3d154
tree7c83ec6075a1d5d217df04d3897800832aeac524
parentc94e2b58940156ad86aef93ad4af1afeb91f9388
usb: musb: omap2430: kill redundant assignments in omap2430_probe()

Commit 77eee43b440fa4bbf1be2c35d16e986c9631bbb5 (usb: musb: omap: Add device
tree support for omap musb glue) added assignments of the 'ret' variable to
-ENOMEM on *some* error paths of the calls to devm_kzalloc(), while that
variable was already pre-initialized for to that value, so these assignments
were completely redundant. Kill them, fixing overindented string, while at it.

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/omap2430.c