all: simplify version checks
all: simplify version checks

As the code errors out earlier if seccomp version is less than 2.2.0,
there is no need to check for SCMP_VER_MAJOR < 2.

Drop it.

Signed-off-by: Kir Kolyshkin <3a017b8ddb3f9cf3e4a59978b004111bdeb97f08@gmail.com>
Signed-off-by: Paul Moore <a027184a55211cd23e3f3094f1fdc728df5e0500@paul-moore.com>

seccomp/libseccomp-golang