net: nfs: Remove separate buffer for default name
authorJoe Hershberger <joe.hershberger@ni.com>
Mon, 15 Aug 2016 19:42:16 +0000 (14:42 -0500)
committerJoe Hershberger <joe.hershberger@ni.com>
Mon, 22 Aug 2016 19:20:11 +0000 (14:20 -0500)
commitf8b26c7adf4e097484a4679ac6f32ae11ce100c5
treede1998a322c27ec9e0b97c4096c5ecf611a0e927
parentaa7a648747d8c704a9a81c9e493d386930724e9d
net: nfs: Remove separate buffer for default name

There is no reason to store the default filename in a separate buffer
only to immediately copy it to the main name buffer. Just write it there
directly and remove the other buffer.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
net/nfs.c