commit | c12bacec458bef16d843c052f38422862f3da8fe | [log] [tgz] |
---|---|---|
author | Rob Landley <rlandley@parallels.com> | Wed Mar 09 15:54:13 2011 -0600 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Fri Mar 11 15:39:28 2011 -0500 |
tree | 6a65f6ecbe0868aba14fb95f033a532b21fa64ba | |
parent | 7ec10f26e1fd5fcceb9c96e508c1292a816199f7 [diff] |
cleanup: save 60 lines/100 bytes by combining two mostly duplicate functions. Eliminate two mostly duplicate functions (nfs_parse_simple_hostname() and nfs_parse_protected_hostname()) and instead just make the calling function (nfs_parse_devname()) do everything. Signed-off-by: Rob Landley <rlandley@parallels.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>