On Fri, 13 Jan 2006, Kazunori Miyazawa wrote: [it's better to send patches inline, so they can be reviewed inline with proper quoting etc.]
+#ifdef CONFIG_CRYPTO_XCBC + ret = crypto_alloc_xcbc_block(tfm); +#endif } ... +#ifdef CONFIG_CRYPTO_XCBC +int crypto_alloc_xcbc_block(struct crypto_tfm *tfm); +void crypto_free_xcbc_block(struct crypto_tfm *tfm); +#else +static inline int crypto_alloc_xcbc_block(struct crypto_tfm *tfm) +{ + return 0; +} + +static inline void crypto_free_xcbc_block(struct crypto_tfm *tfm) +{ } +#endif You shouldn't need the first #ifdef. - James -- James Morris <[EMAIL PROTECTED]> - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html