diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/crypto.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/linux/crypto.h b/include/linux/crypto.h index 5e02d1b46370..425824bd49f3 100644 --- a/include/linux/crypto.h +++ b/include/linux/crypto.h | |||
@@ -317,14 +317,7 @@ int crypto_unregister_alg(struct crypto_alg *alg); | |||
317 | /* | 317 | /* |
318 | * Algorithm query interface. | 318 | * Algorithm query interface. |
319 | */ | 319 | */ |
320 | #ifdef CONFIG_CRYPTO | ||
321 | int crypto_has_alg(const char *name, u32 type, u32 mask); | 320 | int crypto_has_alg(const char *name, u32 type, u32 mask); |
322 | #else | ||
323 | static inline int crypto_has_alg(const char *name, u32 type, u32 mask) | ||
324 | { | ||
325 | return 0; | ||
326 | } | ||
327 | #endif | ||
328 | 321 | ||
329 | /* | 322 | /* |
330 | * Transforms: user-instantiated objects which encapsulate algorithms | 323 | * Transforms: user-instantiated objects which encapsulate algorithms |