Author: hselasky
Date: Thu Aug  2 08:44:40 2018
New Revision: 337105
URL: https://svnweb.freebsd.org/changeset/base/337105

Log:
  MFC r336399:
  Remove redundant call to mlx5_vsc_find_cap() in mlx5core.
  
  Sponsored by:         Mellanox Technologies

Modified:
  stable/11/sys/dev/mlx5/mlx5_core/mlx5_main.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/dev/mlx5/mlx5_core/mlx5_main.c
==============================================================================
--- stable/11/sys/dev/mlx5/mlx5_core/mlx5_main.c        Thu Aug  2 08:43:54 
2018        (r337104)
+++ stable/11/sys/dev/mlx5/mlx5_core/mlx5_main.c        Thu Aug  2 08:44:40 
2018        (r337105)
@@ -846,10 +846,7 @@ static int mlx5_pci_init(struct mlx5_core_dev *dev, st
                goto err_clr_master;
        }
 
-       if (mlx5_vsc_find_cap(dev))
-               dev_err(&pdev->dev, "Unable to find vendor specific 
capabilities\n");
-
-        return 0;
+       return 0;
 
 err_clr_master:
        pci_clear_master(dev->pdev);
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to