aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/octeon-usb
diff options
context:
space:
mode:
authorSarah Khan <sarahjmi07@gmail.com>2014-10-07 01:03:54 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-10-20 02:29:13 (GMT)
commitc9a114e70ab0da81797da84e5bc8737e4e82ad91 (patch)
tree4243c713e6f7de51ec90bc1013e924380db8ab3d /drivers/staging/octeon-usb
parentc65cfb5e5a456759bce8b4986407d95a2d02e8a8 (diff)
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: Sarah Khan <sarahjmi07@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/octeon-usb')
-rw-r--r--drivers/staging/octeon-usb/octeon-hcd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/octeon-usb/octeon-hcd.c b/drivers/staging/octeon-usb/octeon-hcd.c
index 5f9db4cb..6ddde6a 100644
--- a/drivers/staging/octeon-usb/octeon-hcd.c
+++ b/drivers/staging/octeon-usb/octeon-hcd.c
@@ -640,8 +640,7 @@ static inline int __cvmx_usb_get_data_pid(struct cvmx_usb_pipe *pipe)
{
if (pipe->pid_toggle)
return 2; /* Data1 */
- else
- return 0; /* Data0 */
+ return 0; /* Data0 */
}
/**

Privacy Policy