From: Gulsah Kose Date: Thu, 25 Sep 2014 21:41:22 +0000 (+0300) Subject: staging: emxx_udc: Fixed else is not usefull warning. X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=924c6ee1b2e7c9800c43104e67a291678e6a3440;p=linux-beck.git 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 Signed-off-by: Greg Kroah-Hartman --- 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; } /*-------------------------------------------------------------------------*/