net: mvneta: remove duplicate *_coal assignment
authorJisheng Zhang <Jisheng.Zhang@synaptics.com>
Thu, 29 Mar 2018 09:29:40 +0000 (17:29 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Mar 2018 16:27:25 +0000 (12:27 -0400)
commit02281a3525c9f1c07d792d64b079a2d677ed0ea5
tree39a4779c812edf068091aa097bd86171e0caafe2
parente7696042fe9351b90a2dc2e4e042283192ccacbe
net: mvneta: remove duplicate *_coal assignment

The style of the rx/tx queue's *_coal member assignment is:

static void foo_coal_set(...)
{
set the coal in hw;
update queue's foo_coal member; [1]
}

In other place, we call foo_coal_set(pp, queue->foo_coal), so the above [1]
is duplicated and could be removed.

Signed-off-by: Jisheng Zhang <Jisheng.Zhang@synaptics.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvneta.c