From: Tonghao Zhang <xiangxia.m....@gmail.com>
Date: Thu, 31 May 2018 03:14:01 -0700

> Use the % instead of while, and it may simple code and improve
> the calculating. The real_num_tx_queues has been checked when
> allocating and setting it.
> 
> Signed-off-by: Tonghao Zhang <xiangxia.m....@gmail.com>

The loop is there to avoid the expensive modulus operation,
not to avoid the real_num_tx_queues == 0 case.

Reply via email to