]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/ecryptfs/crypto.c
ecryptfs: remove check for if an array is NULL
[karo-tx-linux.git] / fs / ecryptfs / crypto.c
index d10757635b9c9360288e18217b28de298fc48407..3bd35e24b9e92f2b0cab39d44a49f280ce6a1215 100644 (file)
@@ -609,10 +609,6 @@ int ecryptfs_init_crypt_ctx(struct ecryptfs_crypt_stat *crypt_stat)
        char *full_alg_name;
        int rc = -EINVAL;
 
-       if (!crypt_stat->cipher) {
-               ecryptfs_printk(KERN_ERR, "No cipher specified\n");
-               goto out;
-       }
        ecryptfs_printk(KERN_DEBUG,
                        "Initializing cipher [%s]; strlen = [%d]; "
                        "key_size_bits = [%zd]\n",