changeset 52 | 254b9435d75e |
parent 0 | 6663340f3fc9 |
--- a/omap3530/beagle_drivers/usbv/usbv.cpp Fri Jul 30 11:17:10 2010 +0100 +++ b/omap3530/beagle_drivers/usbv/usbv.cpp Mon Aug 23 02:29:41 2010 +0100 @@ -182,8 +182,8 @@ return NULL; } - TInt r; - if ((r = phy->Construct()) != KErrNone) + TInt r = phy->Construct(); + if (r != KErrNone) { __KTRACE_OPT(KPANIC, Kern::Printf(" Error: Construction of TBeagleUsbPhy failed (%d)", r)); delete phy;