1
0
mirror of https://github.com/cathery/sys-con.git synced 2024-09-28 14:40:46 +00:00

Remove unnecessary USB exit calls

This commit is contained in:
cathery 2020-04-18 18:42:28 +03:00
parent cdcc709642
commit 7d9ee7e233
3 changed files with 0 additions and 3 deletions

View File

@ -10,7 +10,6 @@ SwitchUSBDevice::SwitchUSBDevice(UsbHsInterface *interfaces, int length)
SwitchUSBDevice::~SwitchUSBDevice()
{
Close();
}
SwitchUSBDevice::SwitchUSBDevice()

View File

@ -10,7 +10,6 @@ SwitchUSBEndpoint::SwitchUSBEndpoint(UsbHsClientIfSession &if_session, usb_endpo
SwitchUSBEndpoint::~SwitchUSBEndpoint()
{
Close();
if (m_buffer != nullptr)
{
free(m_buffer);

View File

@ -10,7 +10,6 @@ SwitchUSBInterface::SwitchUSBInterface(UsbHsInterface &interface)
SwitchUSBInterface::~SwitchUSBInterface()
{
Close();
}
Result SwitchUSBInterface::Open()