]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns: normalize two different loop
authorDaode Huang <huangdaode@hisilicon.com>
Fri, 1 Jul 2016 09:34:10 +0000 (17:34 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Jul 2016 20:56:52 +0000 (16:56 -0400)
commit079945b5d9f320ae28c807c039c249e052d015ea
tree404c3135af4aa772f1794b77c61360f16ff1a7a4
parent3474fa53ab1e9fdadd96523584bf29c2a82dd063
net: hns: normalize two different loop

There are two approaches to assign data, one does 2 loops, another
does 1 loop. This patch normalize the different methods to 1 loop.

Signed-off-by: Daode Huang <huangdaode@hisilicon.com>
Signed-off-by: Yisen Zhuang <Yisen.Zhuang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c