]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit03766db37915a6cb0124772d60aa1bc9da0dfb0f
tree6a65f6ecbe0868aba14fb95f033a532b21fa64ba
parentabde5c51511d5b2f71f83bddfac517a2a7c147db
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