device_cgroup: Fix kernel-doc warnings in device_cgroup

Fix kernel-doc warnings in device_cgroup:

security/device_cgroup.c:835: warning: Excess function parameter
'dev_cgroup' description in 'devcgroup_legacy_check_permission'.

Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
This commit is contained in:
Gaosheng Cui 2023-06-21 15:44:18 +08:00 committed by Paul Moore
parent 970ebb8a26
commit 4be22f16a4

View File

@ -822,7 +822,6 @@ struct cgroup_subsys devices_cgrp_subsys = {
/** /**
* devcgroup_legacy_check_permission - checks if an inode operation is permitted * devcgroup_legacy_check_permission - checks if an inode operation is permitted
* @dev_cgroup: the dev cgroup to be tested against
* @type: device type * @type: device type
* @major: device major number * @major: device major number
* @minor: device minor number * @minor: device minor number