kernel: drop outdated kernel version switches for local code
[openwrt/staging/wigyori.git] / package / kernel / lantiq / ltq-deu / src / ifxmips_des.c
index beb67075ee43842a3352833adfcb2f04241271c1..6d7d82fcb92fc181a164ff37615fb24eb6c752a6 100644 (file)
@@ -691,17 +691,6 @@ int ifxdeu_init_des (void)
     int ret = -ENOSYS;
 
 
-#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,20))
-     if (!disable_multiblock) {
-                ifxdeu_des_alg.cra_u.cipher.cia_max_nbytes = DES_BLOCK_SIZE;    //(size_t)-1;
-                ifxdeu_des_alg.cra_u.cipher.cia_req_align = 16;
-                ifxdeu_des_alg.cra_u.cipher.cia_ecb = ifx_deu_des_ecb;
-                ifxdeu_des_alg.cra_u.cipher.cia_cbc = ifx_deu_des_cbc;
-                ifxdeu_des_alg.cra_u.cipher.cia_cfb = ifx_deu_des_cfb;
-                ifxdeu_des_alg.cra_u.cipher.cia_ofb = ifx_deu_des_ofb;
-        }
-#endif
-
         ret = crypto_register_alg(&ifxdeu_des_alg);
         if (ret < 0)
                 goto des_err;