ppp: remove more unnecessary kernel checks
authorShiji Yang <yangshiji66@qq.com>
Sun, 13 Oct 2024 13:15:59 +0000 (21:15 +0800)
committerChristian Marangi <ansuelsmth@gmail.com>
Sat, 16 Nov 2024 13:26:47 +0000 (14:26 +0100)
commit3dbe730080e70e96990a5e89cbe2035adcca8d4b
treee6d99f884628d81907e88cddc4c4a8bbd7f0f1d1
parentb88d51898d126d2f918cb476d4158e9fcd62492c
ppp: remove more unnecessary kernel checks

The ppp package can support all features since Linux 4.7.0 kernel.
Therefore, most kernel version checks can pass unconditionally on
OpenWrt v18.06 and later version. This patch can reduce the size
of ppp package by approximately 2.5 KB.

Signed-off-by: Shiji Yang <yangshiji66@qq.com>
Link: https://github.com/openwrt/openwrt/pull/16695
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
package/network/services/ppp/patches/400-simplify_kernel_checks.patch