pds_core: no health-thread in VF path
authorShannon Nelson <shannon.nelson@amd.com>
Sat, 10 Feb 2024 00:20:02 +0000 (16:20 -0800)
committerJakub Kicinski <kuba@kernel.org>
Tue, 13 Feb 2024 01:38:01 +0000 (17:38 -0800)
commit3e36031cc0540ca97b615cbb940331892cbd3d21
treed2e399879b220902625fab0b4f57d603f93c4028
parent2f74258d997c8b93627041d94daa265b5f0d1b4d
pds_core: no health-thread in VF path

The VFs don't run the health thread, so don't try to
stop or restart the non-existent timer or work item.

Fixes: d9407ff11809 ("pds_core: Prevent health thread from running during reset/remove")
Reviewed-by: Brett Creeley <brett.creeley@amd.com>
Signed-off-by: Shannon Nelson <shannon.nelson@amd.com>
Link: https://lore.kernel.org/r/20240210002002.49483-1-shannon.nelson@amd.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/amd/pds_core/main.c