Skip to content

Commit

Permalink
usb/host/fotg210: Remove useless else statement
Browse files Browse the repository at this point in the history
This patch remove an else statement after a return to make the code
easier to understand.

Signed-off-by: Peter Senna Tschudin <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
petersenna authored and gregkh committed Oct 17, 2015
1 parent 5ec9b89 commit f238b4e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions drivers/usb/host/fotg210-hcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1402,10 +1402,9 @@ static int check_reset_complete(struct fotg210_hcd *fotg210, int index,
"Failed to enable port %d on root hub TT\n",
index + 1);
return port_status;
} else {
fotg210_dbg(fotg210, "port %d reset complete, port enabled\n",
index + 1);
}
fotg210_dbg(fotg210, "port %d reset complete, port enabled\n",
index + 1);

return port_status;
}
Expand Down

0 comments on commit f238b4e

Please sign in to comment.