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>
This commit is contained in:
Gulsah Kose 2014-09-26 00:41:22 +03:00 committed by Greg Kroah-Hartman
parent c0a7b1cbbf
commit 924c6ee1b2

View file

@ -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;
}
/*-------------------------------------------------------------------------*/