Skip to content

Commit f440d69

Browse files
cjubrankuba-moo
authored andcommitted
net/mlx5: Remove PTM support log message
The absence of Precision Time Measurement support should not emit a message, as it can be misleading in contexts where PTM is not required. Remove the log message indicating the lack of PCIe PTM support. Signed-off-by: Carolina Jubran <[email protected]> Reviewed-by: Dragos Tatulea <[email protected]> Signed-off-by: Tariq Toukan <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 4d617b5 commit f440d69

File tree

1 file changed

+1
-3
lines changed
  • drivers/net/ethernet/mellanox/mlx5/core

1 file changed

+1
-3
lines changed

drivers/net/ethernet/mellanox/mlx5/core/main.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -945,9 +945,7 @@ static int mlx5_pci_init(struct mlx5_core_dev *dev, struct pci_dev *pdev,
945945

946946
mlx5_pci_vsc_init(dev);
947947

948-
err = pci_enable_ptm(pdev, NULL);
949-
if (err)
950-
mlx5_core_info(dev, "PTM is not supported by PCIe\n");
948+
pci_enable_ptm(pdev, NULL);
951949

952950
return 0;
953951

0 commit comments

Comments
 (0)