mirror of https://github.com/acidanthera/audk.git
delete a debug output to pass through EBC build and align some line to conform with code style
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4315 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
fba96322cc
commit
f74cc0260b
|
@ -282,6 +282,7 @@ USBMouseSimulateTouchPadDriverBindingStart (
|
||||||
UsbMouseSimulateTouchPadDevice->Signature = USB_MOUSE_SIMULATE_TOUCHPAD_DEV_SIGNATURE;
|
UsbMouseSimulateTouchPadDevice->Signature = USB_MOUSE_SIMULATE_TOUCHPAD_DEV_SIGNATURE;
|
||||||
|
|
||||||
UsbMouseSimulateTouchPadDevice->InterfaceDescriptor = AllocatePool (sizeof (EFI_USB_INTERFACE_DESCRIPTOR));
|
UsbMouseSimulateTouchPadDevice->InterfaceDescriptor = AllocatePool (sizeof (EFI_USB_INTERFACE_DESCRIPTOR));
|
||||||
|
|
||||||
if (UsbMouseSimulateTouchPadDevice->InterfaceDescriptor == NULL) {
|
if (UsbMouseSimulateTouchPadDevice->InterfaceDescriptor == NULL) {
|
||||||
Status = EFI_OUT_OF_RESOURCES;
|
Status = EFI_OUT_OF_RESOURCES;
|
||||||
goto ErrorExit;
|
goto ErrorExit;
|
||||||
|
@ -441,7 +442,6 @@ USBMouseSimulateTouchPadDriverBindingStart (
|
||||||
);
|
);
|
||||||
|
|
||||||
ErrorExit:
|
ErrorExit:
|
||||||
DEBUG ((EFI_D_ERROR, __FUNCTION__ " driver start fail\n"));
|
|
||||||
if (EFI_ERROR (Status)) {
|
if (EFI_ERROR (Status)) {
|
||||||
gBS->CloseProtocol (
|
gBS->CloseProtocol (
|
||||||
Controller,
|
Controller,
|
||||||
|
|
Loading…
Reference in New Issue