]> git.karo-electronics.de Git - karo-tx-linux.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)
commitaa255101f7e92b621736856386f87f7b418874a6
tree53f865b09a25f227df5e17d82a5b4c90f1c855b9
parent69d707d034b6078f0b5998f80e5883c8243b205c
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