On Tue, 1 Dec 2015 08:01:32 +0000 kan.li...@intel.com wrote: > +u32 i40e_ndo_get_per_queue_rx_usecs(struct net_device *dev, int index) > +{ > + struct i40e_netdev_priv *np = netdev_priv(dev); > + struct i40e_vsi *vsi = np->vsi; > + struct i40e_pf *pf = vsi->back; > + struct i40e_hw *hw = &pf->hw; > + u32 val; > + > + val = rd32(hw, I40E_PFINT_ITRN(0, index)); > + > + return (val * 2);
Please don't put useless paren's around return value. That is a BSD style that is not practiced in Linux. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html