ar71xx: remove obsolete '< KERNEL_VERSION(4, 2, 0)' check
authorGabor Juhos <juhosg@freemail.hu>
Tue, 9 Jan 2018 20:20:13 +0000 (21:20 +0100)
committerJo-Philipp Wich <jo@mein.io>
Tue, 9 Jan 2018 20:33:18 +0000 (21:33 +0100)
commit8f44c8086be7fd080f4ae2f6bbd5296482d99776
tree14e1639e007e34f040d3da3666d502852dfede23
parent7a4930b27c2f4d336b4f69a5f47c4843876bf021
ar71xx: remove obsolete '< KERNEL_VERSION(4, 2, 0)' check

Because the oldest supported kernel version on the ar71xx target is 4.4,
the condition that the kernel version is smaller than 4.2.0 is always
false. Remove the obsolete check from ag71xx_main.c to clean up the code
a bit.

Signed-off-by: Gabor Juhos <juhosg@freemail.hu>
target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c