target: remove obsolete kernel version switches for 4.19
[openwrt/staging/dedeckeh.git] / target / linux / generic / files / drivers / platform / mikrotik / rb_softconfig.c
index 51a178ec7cc0614e54b071e5871581d9279441ae..54e263df8c0ee1bc3783b490fb795af3e8992e7a 100644 (file)
@@ -64,7 +64,7 @@
  * Also make the driver act read-only if 4K_SECTORS are not enabled, since they
  * are require to handle partial erasing of the small soft_config partition.
  */
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 17, 0)) && defined(CONFIG_MTD_SPI_NOR_USE_4K_SECTORS)
+#if defined(CONFIG_MTD_SPI_NOR_USE_4K_SECTORS)
  #define RB_SC_HAS_WRITE_SUPPORT       true
  #define RB_SC_WMODE                   S_IWUSR
  #define RB_SC_RMODE                   S_IRUSR