ppp: remove more unnecessary kernel checks
authorShiji Yang <yangshiji66@qq.com>
Sun, 13 Oct 2024 13:15:59 +0000 (21:15 +0800)
committerPetr Štetiar <ynezz@true.cz>
Thu, 28 Nov 2024 18:47:25 +0000 (18:47 +0000)
commitbe082a7c7e9b1edf60346752e8dc9935905b7dda
tree54fd62cfa6ca92a9a2fbacddd86584ec077cd330
parent7d4be068da502cd68f252cad73d18faf8e59e2a5
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>
(cherry picked from commit 3dbe730080e70e96990a5e89cbe2035adcca8d4b)
Link: https://github.com/openwrt/openwrt/pull/17097
Signed-off-by: Petr Štetiar <ynezz@true.cz>
package/network/services/ppp/patches/400-simplify_kernel_checks.patch