From 9e0000224a53f418eb4d2c87f1b8d8c47e348665 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Sat, 31 Jul 2010 00:54:45 +0200 Subject: s3-printing: remove unused get_local_printer_publishing_data() call. Guenther --- source3/libads/ldap_printer.c | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'source3') 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 -- cgit