]> git.baikalelectronics.ru Git - kernel.git/commit
net: netcp: remove the redundant memmov()
authorKaricheri, Muralidharan <m-karicheri2@ti.com>
Fri, 6 Jan 2017 20:37:40 +0000 (15:37 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sun, 8 Jan 2017 02:03:50 +0000 (21:03 -0500)
commit4591f78bcfcb935f94d4c1b9a1e32b12869a2c52
tree53f865b09a25f227df5e17d82a5b4c90f1c855b9
parentb789fc695f68c7f7a31332cbb954560dfea5937b
net: netcp: remove the redundant memmov()

The psdata is populated with command data by netcp modules
to the tail of the buffer and set_words() copy the same
to the front of the psdata. So remove the redundant memmov
function call.

Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/netcp_core.c