Skip to content

Commit

Permalink
octeontx2-af: devlink health: use retained error fmsg API
Browse files Browse the repository at this point in the history
Drop unneeded error checking.

devlink_fmsg_*() family of functions is now retaining errors,
so there is no need to check for them after each call.

Reviewed-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: Przemek Kitszel <przemyslaw.kitszel@intel.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Przemek Kitszel authored and David S. Miller committed Oct 20, 2023
1 parent aca7734 commit d8cf03f
Showing 1 changed file with 133 additions and 331 deletions.
Loading

0 comments on commit d8cf03f

Please sign in to comment.