usb: usb_dc_nrfx: Remove dead code
Fix deadcode warning. Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
This commit is contained in:
parent
6282320427
commit
767b4ec6b7
1 changed files with 2 additions and 3 deletions
|
@ -1085,10 +1085,9 @@ int usb_dc_detach(void)
|
|||
if (ret) {
|
||||
return ret;
|
||||
}
|
||||
|
||||
nrf5_power_usb_power_int_enable(false);
|
||||
if (ret) {
|
||||
return ret;
|
||||
}
|
||||
|
||||
ctx->attached = false;
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue