diff --git a/kpatch-build/kpatch-build b/kpatch-build/kpatch-build index 4ac684493604459bc2f5f4303e5c5e1e47430431..086d28b52d997cd6db9cc00e16f75b3acfc4c9b7 100755 --- a/kpatch-build/kpatch-build +++ b/kpatch-build/kpatch-build @@ -294,12 +294,6 @@ kernel_version_from_config() { fi } -kernel_version_from_config() { - if [[ -f "$CONFIGFILE" ]]; then - sed -n '/Kernel Configuration/p' "$CONFIGFILE" | cut -d ' ' -f 3 - fi -} - gcc_version_check() { local target="$1" local c="$TEMPDIR/test.c" o="$TEMPDIR/test.o"