diff options
author | Sarah Khan <sarahjmi07@gmail.com> | 2014-10-07 05:03:54 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-10-20 06:29:13 +0400 |
commit | c9a114e70ab0da81797da84e5bc8737e4e82ad91 (patch) | |
tree | 4243c713e6f7de51ec90bc1013e924380db8ab3d /drivers/staging/octeon-usb | |
parent | c65cfb5e5a456759bce8b4986407d95a2d02e8a8 (diff) | |
download | linux-c9a114e70ab0da81797da84e5bc8737e4e82ad91.tar.xz |
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.c | 3 |
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 5f9db4cbb381..6ddde6af7e3a 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 */ } /** |