Tag: e558017b558d2a477b68961b0da792d4346a01b4

crypto: caam – Remove unneeded ‘ret’ variable

Author: Fabio Estevam <fabio.estevam@freescale.com> Variable ‘ret’ is only used for returning the value 0. We can make it simpler and just return 0 instead. The semantic patch that makes this change is available in scripts/coccinelle/misc/returnvar.cocci. Signed-off-by: Fabio Estevam Signed-off-by: Herbert Xu — drivers/crypto/caam/ctrl.c | 4 ++– 1 file changed, 2 insertions(+), 2 deletions(-)   diff …

Continue reading