diff options
author | Leon Romanovsky <leonro@nvidia.com> | 2021-11-28 14:14:46 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-11-29 13:04:26 +0000 |
commit | e9538f8270db24d272659e15841854c7ea11119e (patch) | |
tree | 2a658b4f718c8e799d613a115e310c28aec51521 | |
parent | a4920d5d98f57b15e08eb2cc28bf225e6151fcb4 (diff) | |
download | linux-e9538f8270db24d272659e15841854c7ea11119e.tar.bz2 |
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: e44ef4e4516c ("devlink: Hang reporter's dump method on a dumpit cb")
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | net/core/devlink.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/core/devlink.c b/net/core/devlink.c index d144a62cbf73..fd21022145a3 100644 --- a/net/core/devlink.c +++ b/net/core/devlink.c @@ -8845,8 +8845,6 @@ static const struct genl_small_ops devlink_nl_ops[] = { GENL_DONT_VALIDATE_DUMP_STRICT, .dumpit = devlink_nl_cmd_health_reporter_dump_get_dumpit, .flags = GENL_ADMIN_PERM, - .internal_flags = DEVLINK_NL_FLAG_NEED_DEVLINK_OR_PORT | - DEVLINK_NL_FLAG_NO_LOCK, }, { .cmd = DEVLINK_CMD_HEALTH_REPORTER_DUMP_CLEAR, |