Skip to content

Commit

Permalink
tools headers UAPI: remove stale lirc.h
Browse files Browse the repository at this point in the history
The lirc.h file is an old copy of lirc.h from the kernel sources. It is
out of date, and the bpf lirc tests don't need a new copy anyway. As
long as /usr/include/linux/lirc.h is from kernel v5.2 or newer, the tests
will compile fine.

Signed-off-by: Sean Young <sean@mess.org>
Reviewed-by: Shuah Khan <skhan@linuxfoundation.org>
Link: https://lore.kernel.org/r/20220124153028.394409-1-sean@mess.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
  • Loading branch information
Sean Young authored and Alexei Starovoitov committed Jan 26, 2022
1 parent 0e3135d commit e2bcbd7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 230 deletions.
229 changes: 0 additions & 229 deletions tools/include/uapi/linux/lirc.h

This file was deleted.

1 change: 0 additions & 1 deletion tools/testing/selftests/bpf/test_lirc_mode2_user.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
// 5. We can read keycode from same /dev/lirc device

#include <linux/bpf.h>
#include <linux/lirc.h>
#include <linux/input.h>
#include <errno.h>
#include <stdio.h>
Expand Down

0 comments on commit e2bcbd7

Please sign in to comment.