[PATCH] kernel: Remove unneeded return in void function
From: Guillaume Gomez
Date: Wed Sep 23 2015 - 06:20:46 EST
Signed-off-by: Guillaume Gomez <guillaume1.gomez@xxxxxxxxx>
---
include/linux/crypto.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/crypto.h b/include/linux/crypto.h
index e71cb70..7d19b4f 100644
--- a/include/linux/crypto.h
+++ b/include/linux/crypto.h
@@ -620,7 +620,7 @@ void crypto_destroy_tfm(void *mem, struct crypto_tfm *tfm);
static inline void crypto_free_tfm(struct crypto_tfm *tfm)
{
- return crypto_destroy_tfm(tfm, tfm);
+ crypto_destroy_tfm(tfm, tfm);
}
int alg_test(const char *driver, const char *alg, u32 type, u32 mask);
--
2.1.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/