diff --git a/libcontainer/integration/checkpoint_test.go b/libcontainer/integration/checkpoint_test.go
index <HASH>..<HASH> 100644
--- a/libcontainer/integration/checkpoint_test.go
+++ b/libcontainer/integration/checkpoint_test.go
@@ -11,7 +11,6 @@ import (
 	"testing"
 
 	"github.com/opencontainers/runc/libcontainer"
-	"github.com/opencontainers/runc/libcontainer/cgroups"
 	"github.com/opencontainers/runc/libcontainer/configs"
 
 	"golang.org/x/sys/unix"
@@ -80,17 +79,9 @@ func testCheckpoint(t *testing.T, userns bool) {
 		config.GidMappings = []configs.IDMap{{HostID: 0, ContainerID: 0, Size: 1000}}
 		config.Namespaces = append(config.Namespaces, configs.Namespace{Type: configs.NEWUSER})
 	} else {
-		var cgroupDevice string
-
-		if cgroups.IsCgroup2UnifiedMode() {
-			cgroupDevice = "cgroup2"
-		} else {
-			cgroupDevice = "cgroup"
-		}
-
 		config.Mounts = append(config.Mounts, &configs.Mount{
 			Destination: "/sys/fs/cgroup",
-			Device:      cgroupDevice,
+			Device:      "cgroup",
 			Flags:       defaultMountFlags | unix.MS_RDONLY,
 		})
 	}
libcontainer/integration/checkpoint_test: simplify

Since commit <I>e<I>d6f it is not longer needed to have `cgroup2'
mount.