From: Sarah Khan Date: Tue, 7 Oct 2014 01:03:54 +0000 (+0530) Subject: staging: octeon-usb: Removed unnessecary else after return X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c9a114e70ab0da81797da84e5bc8737e4e82ad91;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Greg Kroah-Hartman --- 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 */ } /**