Platform BpfLoader: remove support for /vendor/etc/bpf/filterPowerSupplyEvents.bpf

It doesn't exist in current builds, and we have the vendor bpf loader in C++ to handle /vendor/etc/bpf anyway.
It's unclear how to handle it from rust due to platform vs vendor skew...

Test: TreeHugger
Flag: EXEMPT no-op
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: I3ef707399445f91966e747d615dbf828d779a5ae
This commit is contained in:
Maciej Żenczykowski 2025-07-25 21:15:15 -07:00
commit 8ce82c3dc4

View file

@ -341,14 +341,6 @@ const FILE_ARR: &[BpfFileDesc] = &[
progs: &[ProgDesc::new_kver(GID_ROOT, KVER_5_10, "skfilter_ringbuf_test")],
..BPF_FILE_DESC_DEFAULT
},
BpfFileDesc {
filename: "/vendor/etc/bpf/filterPowerSupplyEvents.bpf",
prefix: "vendor/",
critical: true,
allow_missing: true,
progs: &[ProgDesc::new_kver(GID_SYSTEM, KVER_5_10, "skfilter_power_supply")],
..BPF_FILE_DESC_DEFAULT
},
];
// TODO: Remove this code when fuse-bpf is upstreamed