aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/init.go
diff options
context:
space:
mode:
authorAlexander Potapenko <glider@google.com>2024-07-02 10:31:27 +0200
committerDmitry Vyukov <dvyukov@google.com>2024-07-02 08:52:31 +0000
commit07f0a0a0ac9cfea6c05a26b70bfc086822d55184 (patch)
tree2bb54c10d1c6d15a60ba906356e3de99e5f6b882 /sys/linux/init.go
parent4b42962bfebc45ea22f9a5af63b49aa5ed418749 (diff)
sys/linux: drop EXT4_IOC_MIGRATE and USB_MAJOR from init.go
These two constants are not used anywhere. No functional change.
Diffstat (limited to 'sys/linux/init.go')
-rw-r--r--sys/linux/init.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/linux/init.go b/sys/linux/init.go
index 8b18c2c1f..4cf539023 100644
--- a/sys/linux/init.go
+++ b/sys/linux/init.go
@@ -23,7 +23,6 @@ func InitTarget(target *prog.Target) {
FITHAW: target.GetConst("FITHAW"),
SNAPSHOT_FREEZE: target.GetConst("SNAPSHOT_FREEZE"),
SNAPSHOT_POWER_OFF: target.GetConst("SNAPSHOT_POWER_OFF"),
- EXT4_IOC_MIGRATE: target.GetConst("EXT4_IOC_MIGRATE"),
FAN_OPEN_PERM: target.GetConst("FAN_OPEN_PERM"),
FAN_ACCESS_PERM: target.GetConst("FAN_ACCESS_PERM"),
FAN_OPEN_EXEC_PERM: target.GetConst("FAN_OPEN_EXEC_PERM"),
@@ -40,7 +39,6 @@ func InitTarget(target *prog.Target) {
AF_NETLINK: target.GetConst("AF_NETLINK"),
SOCK_RAW: target.GetConst("SOCK_RAW"),
NETLINK_GENERIC: target.GetConst("NETLINK_GENERIC"),
- USB_MAJOR: target.GetConst("USB_MAJOR"),
TIOCSSERIAL: target.GetConst("TIOCSSERIAL"),
TIOCGSERIAL: target.GetConst("TIOCGSERIAL"),
// These are not present on all arches.
@@ -123,7 +121,6 @@ type arch struct {
FITHAW uint64
SNAPSHOT_FREEZE uint64
SNAPSHOT_POWER_OFF uint64
- EXT4_IOC_MIGRATE uint64
FAN_OPEN_PERM uint64
FAN_ACCESS_PERM uint64
FAN_OPEN_EXEC_PERM uint64
@@ -142,7 +139,6 @@ type arch struct {
AF_NETLINK uint64
SOCK_RAW uint64
NETLINK_GENERIC uint64
- USB_MAJOR uint64
TIOCSSERIAL uint64
TIOCGSERIAL uint64
}