diff options
| author | Thomas Weißschuh <[email protected]> | 2024-03-22 17:05:56 +0000 |
|---|---|---|
| committer | Joel Granados <[email protected]> | 2024-04-24 07:43:54 +0000 |
| commit | eb32d3adef461bc523c97321f19209f55512ee4a (patch) | |
| tree | 80c4ef422341284a407e59ef9ebd0f6e544fe861 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h | |
| parent | sysctl: treewide: constify argument ctl_table_root::permissions(table) (diff) | |
| download | kernel-eb32d3adef461bc523c97321f19209f55512ee4a.tar.gz kernel-eb32d3adef461bc523c97321f19209f55512ee4a.zip | |
sysctl: drop sysctl_is_perm_empty_ctl_table
It is used only twice and those callers are simpler with
sysctl_is_perm_empty_ctl_header().
So use this sibling function.
This is part of an effort to constify definition of struct ctl_table.
For this effort the mutable member 'type' is moved from
struct ctl_table to struct ctl_table_header.
Unifying the macros sysctl_is_perm_empty_ctl_* makes this easier.
Signed-off-by: Thomas Weißschuh <[email protected]>
Signed-off-by: Joel Granados <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h')
0 files changed, 0 insertions, 0 deletions
