diff options
author | Gulsah Kose <gulsah.1004@gmail.com> | 2014-09-26 00:41:22 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-28 23:06:43 -0400 |
commit | 924c6ee1b2e7c9800c43104e67a291678e6a3440 (patch) | |
tree | 1a79bc48ecc41156f2aabc710fce97d7dcb845f5 /drivers/staging/emxx_udc | |
parent | c0a7b1cbbf806e32278795893087047ed28f2a5b (diff) | |
download | linux-924c6ee1b2e7c9800c43104e67a291678e6a3440.tar.gz linux-924c6ee1b2e7c9800c43104e67a291678e6a3440.tar.bz2 linux-924c6ee1b2e7c9800c43104e67a291678e6a3440.zip |
staging: emxx_udc: Fixed else is not usefull warning.
This patch fixes "else is not generally useful after a break or return"
checkpatch.pl warning in emxx_udc.c
Signed-off-by: Gulsah Kose <gulsah.1004@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/emxx_udc')
-rw-r--r-- | drivers/staging/emxx_udc/emxx_udc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/emxx_udc/emxx_udc.c b/drivers/staging/emxx_udc/emxx_udc.c index 6212efb606ea..3c8d723e7449 100644 --- a/drivers/staging/emxx_udc/emxx_udc.c +++ b/drivers/staging/emxx_udc/emxx_udc.c @@ -1491,8 +1491,7 @@ static int _nbu2ss_get_ep_stall(struct nbu2ss_udc *udc, u8 ep_adrs) if ((data & bit_data) == 0) return 0; - else - return 1; + return 1; } /*-------------------------------------------------------------------------*/ |