summaryrefslogtreecommitdiffstats
path: root/drivers/hid/bpf/hid_bpf_jmp_table.c
diff options
context:
space:
mode:
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>2023-01-13 10:09:34 +0100
committerJiri Kosina <jkosina@suse.cz>2023-01-18 22:08:38 +0100
commitbb2c0aeac145c4e5b74620fd8c0f7862777b8677 (patch)
tree42cf46406afd2639a541a9aaf7f1ad68ccb1f089 /drivers/hid/bpf/hid_bpf_jmp_table.c
parent6e021d64e4897759e19ce431ee6a366338c00be8 (diff)
downloadlinux-stable-bb2c0aeac145c4e5b74620fd8c0f7862777b8677.tar.gz
linux-stable-bb2c0aeac145c4e5b74620fd8c0f7862777b8677.tar.bz2
linux-stable-bb2c0aeac145c4e5b74620fd8c0f7862777b8677.zip
HID: bpf: clean up entrypoint
We don't need to watch for calls on bpf_prog_put_deferred(), so remove that from the entrypoints.bpf.c file. Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Acked-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/bpf/hid_bpf_jmp_table.c')
-rw-r--r--drivers/hid/bpf/hid_bpf_jmp_table.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/hid/bpf/hid_bpf_jmp_table.c b/drivers/hid/bpf/hid_bpf_jmp_table.c
index b7eb5c5e435f..eca34b7372f9 100644
--- a/drivers/hid/bpf/hid_bpf_jmp_table.c
+++ b/drivers/hid/bpf/hid_bpf_jmp_table.c
@@ -499,11 +499,6 @@ void __hid_bpf_destroy_device(struct hid_device *hdev)
schedule_work(&release_work);
}
-void call_hid_bpf_prog_put_deferred(struct work_struct *work)
-{
- /* kept around for patch readability, to be dropped in the next commmit */
-}
-
#define HID_BPF_PROGS_COUNT 1
static struct bpf_link *links[HID_BPF_PROGS_COUNT];