diff options
| author | Michal Schmidt <mschmidt@redhat.com> | 2026-07-01 17:05:10 +0200 |
|---|---|---|
| committer | Leon Romanovsky <leon@kernel.org> | 2026-07-06 02:10:33 -0400 |
| commit | 297b5b747a0a2c6b63088d3f5cc102a6cffaf292 (patch) | |
| tree | 920f035f194d464ad0e53ae855dc654e6ef879ba /tools/perf/scripts/python | |
| parent | fbbe1d5cd7d400a98afcf337969cfdb808cb198f (diff) | |
RDMA/hfi1: Remove unused non-user-accessible device class
The driver defines two device classes: "hfi1" (mode 0600) and
"hfi1_user" (mode 0666), selected by a user_accessible parameter to
hfi1_cdev_init(). The only caller always passes user_accessible=true,
so the "hfi1" class is registered but never used.
The 0600 class was originally used by the diagnostics UI char device
(hfi1_ui*), but that was removed over 10 years ago in commit
7312f29d8ee5 ("IB/hfi1: Remove UI char device"). The class and the
user_accessible parameter were left behind.
Remove the unused class and the user_accessible parameter.
Now that there's only one class, it might make sense to change its name
from "hfi1_user" to just "hfi1", but not knowing whether userspace would
mind, keep the name as is.
Assisted-by: Claude:claude-opus-4-6
Signed-off-by: Michal Schmidt <mschmidt@redhat.com>
Link: https://patch.msgid.link/20260701150510.384858-1-mschmidt@redhat.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
