From f5a2f8fa2b66d23eb2e99443f6d6bb85b6199b63 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Fri, 7 May 2010 10:37:48 -0400 Subject: s3-printing: Removed unused function print_job_fd(). Signed-off-by: Jim McDonough --- source3/printing/printing.c | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'source3/printing/printing.c') diff --git a/source3/printing/printing.c b/source3/printing/printing.c index 3525f8dc3a..b620db03d5 100644 --- a/source3/printing/printing.c +++ b/source3/printing/printing.c @@ -1814,21 +1814,6 @@ bool print_job_exists(const char* sharename, uint32 jobid) return ret; } -/**************************************************************************** - Give the fd used for a jobid. -****************************************************************************/ - -int print_job_fd(const char* sharename, uint32 jobid) -{ - struct printjob *pjob = print_job_find(sharename, jobid); - if (!pjob) - return -1; - /* don't allow another process to get this info - it is meaningless */ - if (pjob->pid != sys_getpid()) - return -1; - return pjob->fd; -} - /**************************************************************************** Give the filename used for a jobid. Only valid for the process doing the spooling and when the job -- cgit