Commit c9a114e7 authored by Sarah Khan's avatar Sarah Khan Committed by Greg Kroah-Hartman

staging: octeon-usb: Removed unnessecary else after return

WARNING: else is generally not useful after return or break
checkpatch.pl warning in octeon-hcd.c
Signed-off-by: default avatarSarah Khan <sarahjmi07@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c65cfb5e
...@@ -640,8 +640,7 @@ static inline int __cvmx_usb_get_data_pid(struct cvmx_usb_pipe *pipe) ...@@ -640,8 +640,7 @@ static inline int __cvmx_usb_get_data_pid(struct cvmx_usb_pipe *pipe)
{ {
if (pipe->pid_toggle) if (pipe->pid_toggle)
return 2; /* Data1 */ return 2; /* Data1 */
else return 0; /* Data0 */
return 0; /* Data0 */
} }
/** /**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment