net: hns3: minor cleanup in hns3_clean_rx_ring
driver inclusion category: bugfix bugzilla: NA CVE: NA The unused_count variable is used to indicate how many rx BD need attaching new buffer in hns3_clean_rx_ring, and the clean_count variable has the similar meaning. This patch removes the clean_count variable and use unused_count to uniformly indicate the rx BD that need attaching new buffer. This patch also clean up some coding style related to variable assignment in hns3_clean_rx_ring. Feature or Bugfix:Bugfix Signed-off-by:Yunsheng Lin <linyunsheng@huawei.com> Reviewed-by:
lipeng <lipeng321@huawei.com> Reviewed-by:
Yang Yingliang <yangyingliang@huawei.com> Signed-off-by:
Yang Yingliang <yangyingliang@huawei.com>
Please register or sign in to comment