c3397c1b06
Remove ret variable in functions that used it to determine the return. Simplified the return logic for these functions. Found with Coccinelle script: @@ local idexpression ret; expression c,d; identifier label; @@ switch ( ... ) { case label : ... - ret = c; - break; + return c; ... default: ... - ret = d; + return d; ... } ... when != ret - return ret; @@ type T; identifier i; @@ - T i; ... when != i Signed-off-by: Thaissa Falbo <thaissa.falbo@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
---|---|---|
.. | ||
davinci-vpfe-mc.txt | ||
davinci_vpfe_user.h | ||
dm365_ipipe.c | ||
dm365_ipipe.h | ||
dm365_ipipe_hw.c | ||
dm365_ipipe_hw.h | ||
dm365_ipipeif.c | ||
dm365_ipipeif.h | ||
dm365_ipipeif_user.h | ||
dm365_isif.c | ||
dm365_isif.h | ||
dm365_isif_regs.h | ||
dm365_resizer.c | ||
dm365_resizer.h | ||
Kconfig | ||
Makefile | ||
TODO | ||
vpfe.h | ||
vpfe_mc_capture.c | ||
vpfe_mc_capture.h | ||
vpfe_video.c | ||
vpfe_video.h |