hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/arch/mips/cavium-octeon/executive/cvmx-helper-npi.c
....@@ -59,18 +59,6 @@
5959 && !OCTEON_IS_MODEL(OCTEON_CN52XX_PASS1_X))
6060 /* The packet engines didn't exist before pass 2 */
6161 return 4;
62
-#if 0
63
- /*
64
- * Technically CN30XX, CN31XX, and CN50XX contain packet
65
- * engines, but nobody ever uses them. Since this is the case,
66
- * we disable them here.
67
- */
68
- else if (OCTEON_IS_MODEL(OCTEON_CN31XX)
69
- || OCTEON_IS_MODEL(OCTEON_CN50XX))
70
- return 2;
71
- else if (OCTEON_IS_MODEL(OCTEON_CN30XX))
72
- return 1;
73
-#endif
7462 #endif
7563 return 0;
7664 }