summaryrefslogtreecommitdiff
path: root/source3/param
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-05-16 22:27:28 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-05-18 16:12:08 +0200
commit7a11e5de395c928e4a37c58a7a7ac21a314449fe (patch)
tree45213b9102d5813fe0eac45e0467b07709dc7e98 /source3/param
parentb3258addb4bc861d8d0cf8842397c209ec2d3704 (diff)
downloadsamba-7a11e5de395c928e4a37c58a7a7ac21a314449fe.tar.gz
samba-7a11e5de395c928e4a37c58a7a7ac21a314449fe.tar.bz2
samba-7a11e5de395c928e4a37c58a7a7ac21a314449fe.zip
s3-param: Remove unused snum2params_static
Diffstat (limited to 'source3/param')
-rw-r--r--source3/param/loadparm.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index b80c31bedf..3ed2308c86 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -9775,18 +9775,6 @@ struct share_params *get_share_params(TALLOC_CTX *mem_ctx,
return result;
}
-/*
- * This is a hack for a transition period until we transformed all code from
- * service numbers to struct share_params.
- */
-
-struct share_params *snum2params_static(int snum)
-{
- static struct share_params result;
- result.service = snum;
- return &result;
-}
-
/*******************************************************************
A useful volume label function.
********************************************************************/