diff options
author | Vincenzo Scotti <vinc94@gmail.com> | 2014-09-09 21:06:26 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-11 21:55:55 (GMT) |
commit | 9af928157c48db3cb8968e9bfc13e0c28b315547 (patch) | |
tree | d6278ab9beae5a5bff4fc177c46f39774b58d08d | |
parent | 7f39ae05ad49bd7274ac43032511f51e0fb3b8aa (diff) | |
download | linux-9af928157c48db3cb8968e9bfc13e0c28b315547.tar.xz |
staging: emxx_udc: fix style warnings: return in void functions
Signed-off-by: Vincenzo Scotti <vinc94@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/emxx_udc/emxx_udc.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/staging/emxx_udc/emxx_udc.c b/drivers/staging/emxx_udc/emxx_udc.c index 114ed25..512ebe5 100644 --- a/drivers/staging/emxx_udc/emxx_udc.c +++ b/drivers/staging/emxx_udc/emxx_udc.c @@ -473,8 +473,6 @@ static void _nbu2ss_ep_in_end( _nbu2ss_bitset(&preg->EP_REGS[num].EP_CONTROL, EPn_AUTO); } - - return; } #ifdef USE_DMA @@ -1398,8 +1396,6 @@ static void _nbu2ss_set_endpoint_stall( } } } - - return; } @@ -2047,8 +2043,6 @@ static inline void _nbu2ss_epn_out_int( result = _nbu2ss_epn_out_transfer(udc, ep, req); if (result <= 0) _nbu2ss_ep_done(ep, req, result); - - return; } /*-------------------------------------------------------------------------*/ @@ -2086,8 +2080,6 @@ static inline void _nbu2ss_epn_in_dma_int( _nbu2ss_epn_in_int(udc, ep, req); } } - - return; } /*-------------------------------------------------------------------------*/ @@ -2208,8 +2200,6 @@ static void _nbu2ss_ep0_enable(struct nbu2ss_udc *udc) { _nbu2ss_bitset(&udc->p_regs->EP0_CONTROL, (EP0_AUTO | EP0_BCLR)); _nbu2ss_writel(&udc->p_regs->EP0_INT_ENA, EP0_INT_EN_BIT); - - return; } #if 0 @@ -2222,8 +2212,6 @@ static void _nbu2ss_ep0_disable(struct nbu2ss_udc *udc) , (EP0_BCLR | EP0_INAK | EP0_ONAK | EP0_BCLR)); _nbu2ss_bitclr(&udc->p_regs->EP0_CONTROL, EP0_AUTO); - - return; } #endif @@ -2481,8 +2469,6 @@ static inline void _nbu2ss_check_vbus(struct nbu2ss_udc *udc) _nbu2ss_pullup(udc, 1); } } - - return; } /*-------------------------------------------------------------------------*/ |