ibmvnic: simplify reset_long_term_buff function
authorLijun Pan <ljp@linux.ibm.com>
Sat, 13 Feb 2021 02:36:10 +0000 (20:36 -0600)
committerDavid S. Miller <davem@davemloft.net>
Mon, 15 Feb 2021 23:10:38 +0000 (15:10 -0800)
commit1c7d45e7b2c29080bf6c8cd0e213cc3cbb62a054
tree3ecb4bcf6f8415fd2b19f79b51dc66337a968bba
parent0caf3ada24e4623d4b2c938a5b6d2d09e4ccee18
ibmvnic: simplify reset_long_term_buff function

The only thing reset_long_term_buff() should do is set
buffer to zero. After doing that, it is not necessary to
send_request_map again to VIOS since it actually does not
change the mapping. So, keep memset function and remove all
others.

Signed-off-by: Lijun Pan <ljp@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/ibmvnic.c