Skip to content

Commit e9538f8

Browse files
rleondavem330
authored andcommitted
devlink: Remove misleading internal_flags from health reporter dump
DEVLINK_CMD_HEALTH_REPORTER_DUMP_GET command doesn't have .doit callback and has no use in internal_flags at all. Remove this misleading assignment. Fixes: e44ef4e ("devlink: Hang reporter's dump method on a dumpit cb") Signed-off-by: Leon Romanovsky <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent a4920d5 commit e9538f8

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

net/core/devlink.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8845,8 +8845,6 @@ static const struct genl_small_ops devlink_nl_ops[] = {
88458845
GENL_DONT_VALIDATE_DUMP_STRICT,
88468846
.dumpit = devlink_nl_cmd_health_reporter_dump_get_dumpit,
88478847
.flags = GENL_ADMIN_PERM,
8848-
.internal_flags = DEVLINK_NL_FLAG_NEED_DEVLINK_OR_PORT |
8849-
DEVLINK_NL_FLAG_NO_LOCK,
88508848
},
88518849
{
88528850
.cmd = DEVLINK_CMD_HEALTH_REPORTER_DUMP_CLEAR,

0 commit comments

Comments
 (0)