# Re: \[PATCH net-next v3 05/12\] net: wwan: t7xx: Add AT and MBIM WWAN ports

- From: Andy Shevchenko \<andriy.shevchenko@linux.intel.com\>
- Date: 2021-12-16 13:00:19 
- List: linux-wireless
- Page: https://ratatoskr.run/linux-wireless/2021/12/11219055
- Thread: https://ratatoskr.run/netdev/2021/12/11218124/t.md

```text
On Thu, Dec 16, 2021 at 02:25:47PM +0200, Ilpo Järvinen wrote:
> On Mon, 6 Dec 2021, Ricardo Martinez wrote:

> > +		if (multi_packet == 1)
> > +			return actual_count;
> > +		else if (multi_packet == i + 1)

On top of that redundant 'else' here.

> > +			return count;
> > +	}
> 
> I'd recommend renaming variables to make it clearer what they count:
> - count -> bytes
> - actual_count -> actual_bytes
> - multi_packet -> packets

-- 
With Best Regards,
Andy Shevchenko


```
