We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2dccab commit 1c9be80Copy full SHA for 1c9be80
subsys/usb/usb_c/usbc_tc_src_states.c
@@ -257,8 +257,6 @@ void tc_attached_src_entry(void *obj)
257
258
/* Enable the VBUS sourcing by the PPC */
259
if (data->ppc != NULL) {
260
- int ret;
261
-
262
ret = ppc_set_src_ctrl(data->ppc, true);
263
if (ret < 0 && ret != -ENOSYS) {
264
LOG_ERR("Couldn't disable PPC source");
@@ -317,8 +315,6 @@ void tc_attached_src_exit(void *obj)
317
315
318
316
/* Disable the VBUS sourcing by the PPC */
319
320
321
322
ret = ppc_set_src_ctrl(data->ppc, false);
323
324
0 commit comments