[ewg] [PATCHv8 08/11] mlx4: Allow interfaces to correspond to each other

Eli Cohen eli at dev.mellanox.co.il
Thu May 13 04:13:12 PDT 2010


On Wed, May 12, 2010 at 01:30:22PM -0700, Roland Dreier wrote:
>  > +void *mlx4_get_prot_dev(struct mlx4_dev *dev, enum mlx4_prot proto, int port)
>  > +{
>  > +	return mlx4_find_get_prot_dev(dev, proto, port);
>  > +}
>  > +EXPORT_SYMBOL(mlx4_get_prot_dev);
> 
> Not sure I understand why you have a wrapper to call another function
> with exactly the same parameters?  Can't we get rid of this and just
> rename mlx4_find_get_prot_dev() to mlx4_get_prot_dev()?

Sure, let's change that.



More information about the ewg mailing list