net: nfs: Simplify rpc_add_credentials()
authorJoe Hershberger <joe.hershberger@ni.com>
Mon, 15 Aug 2016 20:03:27 +0000 (15:03 -0500)
committerJoe Hershberger <joe.hershberger@ni.com>
Mon, 22 Aug 2016 19:21:02 +0000 (14:21 -0500)
commit1ff65d440d3976f86d4e9ee2539ebdc1083e8e86
tree91a5cb8d59687c1f227b82fc470f4a33ebf0a75c
parent998372b4798fd7ebb666f571950df925b8d80f69
net: nfs: Simplify rpc_add_credentials()

We use an empty hostname, so remove all the "processing" of the
known-to-be-empty hostname and just write 0's where needed.

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