summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-07-31 00:54:45 +0200
committerGünther Deschner <gd@samba.org>2010-07-31 00:54:45 +0200
commit9e0000224a53f418eb4d2c87f1b8d8c47e348665 (patch)
tree882b7ae7e62948e4d064d52173eb369ab9ac8fcf /source3
parent813fbbd68c50811ad3776140e409d31b60dba76f (diff)
downloadsamba-9e0000224a53f418eb4d2c87f1b8d8c47e348665.tar.gz
samba-9e0000224a53f418eb4d2c87f1b8d8c47e348665.tar.bz2
samba-9e0000224a53f418eb4d2c87f1b8d8c47e348665.zip
s3-printing: remove unused get_local_printer_publishing_data() call.
Guenther
Diffstat (limited to 'source3')
-rw-r--r--source3/libads/ldap_printer.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/source3/libads/ldap_printer.c b/source3/libads/ldap_printer.c
index c997218a48..fff50cfe8b 100644
--- a/source3/libads/ldap_printer.c
+++ b/source3/libads/ldap_printer.c
@@ -397,18 +397,4 @@ WERROR get_remote_printer_publishing_data(struct rpc_pipe_client *cli,
return result;
}
-static bool get_local_printer_publishing_data(TALLOC_CTX *mem_ctx,
- ADS_MODLIST *mods,
- NT_PRINTER_DATA *data)
-{
- uint32 key,val;
-
- for (key=0; key < data->num_keys; key++) {
- struct regval_ctr *ctr = data->keys[key].values;
- for (val=0; val < regval_ctr_numvals(ctr); val++)
- map_regval_to_ads(mem_ctx, mods, regval_ctr_specific_value(ctr, val));
- }
- return True;
-}
-
#endif