devlink: Remove misleading internal_flags from health reporter dump
authorLeon Romanovsky <leonro@nvidia.com>
Sun, 28 Nov 2021 12:14:46 +0000 (14:14 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Jan 2022 10:05:39 +0000 (11:05 +0100)
commit795ad139ed915f7ef726490a3be86cd559f3ee05
tree1116fba677e111dda315dda5b3610f1b6f2ab753
parent228a7024ed8a9e269b45ea12171c2265baaf50cc
devlink: Remove misleading internal_flags from health reporter dump

commit e9538f8270db24d272659e15841854c7ea11119e upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/core/devlink.c