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: NJoe Hershberger <joe.hershberger@ni.com>
Showing
想要评论请 注册 或 登录