]> 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)
commit2bdde9da5914da852aa57b427b57223533205677
tree53f865b09a25f227df5e17d82a5b4c90f1c855b9
parenta76256fe7788fe036975caafa6eb1cf68cfbe83d
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