cleanup: save 60 lines/100 bytes by combining two mostly duplicate functions.
authorRob Landley <rlandley@parallels.com>
Wed, 9 Mar 2011 21:54:13 +0000 (15:54 -0600)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 11 Mar 2011 20:39:28 +0000 (15:39 -0500)
commitc12bacec458bef16d843c052f38422862f3da8fe
tree6a65f6ecbe0868aba14fb95f033a532b21fa64ba
parent7ec10f26e1fd5fcceb9c96e508c1292a816199f7
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>
fs/nfs/super.c