summaryrefslogtreecommitdiff
path: root/source3/printing/nt_printing.c
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2010-05-11 10:49:46 +0200
committerSimo Sorce <idra@samba.org>2010-07-27 10:27:12 -0400
commitd8ab3e52dc717cbfd82b02c00426e98001acc764 (patch)
tree34eb0e8b7a464250179cb08d90cdf7aa4bade3fc /source3/printing/nt_printing.c
parent5c1f28374712c1e23d794670a9cd91052e99f34e (diff)
downloadsamba-d8ab3e52dc717cbfd82b02c00426e98001acc764.tar.gz
samba-d8ab3e52dc717cbfd82b02c00426e98001acc764.tar.bz2
samba-d8ab3e52dc717cbfd82b02c00426e98001acc764.zip
s3-printing: Removed unused free_a_printer function.
Signed-off-by: Jim McDonough <jmcd@samba.org>
Diffstat (limited to 'source3/printing/nt_printing.c')
-rw-r--r--source3/printing/nt_printing.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/source3/printing/nt_printing.c b/source3/printing/nt_printing.c
index 9270226195..3a3b72abbc 100644
--- a/source3/printing/nt_printing.c
+++ b/source3/printing/nt_printing.c
@@ -3298,32 +3298,6 @@ WERROR spoolss_map_to_os2_driver(TALLOC_CTX *mem_ctx, const char **pdrivername)
}
/****************************************************************************
- Deletes a NT_PRINTER_INFO_LEVEL struct.
-****************************************************************************/
-
-uint32 free_a_printer(NT_PRINTER_INFO_LEVEL **pp_printer, uint32 level)
-{
- NT_PRINTER_INFO_LEVEL *printer = *pp_printer;
-
- if ( !printer )
- return 0;
-
- switch (level) {
- case 2:
- TALLOC_FREE(printer->info_2);
- break;
-
- default:
- DEBUG(0,("free_a_printer: unknown level! [%d]\n", level ));
- return 1;
- }
-
- TALLOC_FREE(*pp_printer);
-
- return 0;
-}
-
-/****************************************************************************
****************************************************************************/
bool driver_info_ctr_to_info8(struct spoolss_AddDriverInfoCtr *r,