diff options
author | David Disseldorp <ddiss@samba.org> | 2014-10-30 01:37:51 +0100 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2014-11-17 21:21:12 +0100 |
commit | 1d9c15fd790e665ccd5caa990664e114d547eaa4 (patch) | |
tree | 7ab30daf331b346b24d00721bfd2bc29dfb77ce0 /source3 | |
parent | bcd16d68ac1ccdd1158ff1e3c1d73fd6cfdfef6d (diff) | |
download | samba-1d9c15fd790e665ccd5caa990664e114d547eaa4.tar.gz |
spoolss: remove unused fill_job_info3()
This logic has been moved into the previous EnumJobs(level=3) caller.
The info3 structure only contains two fields that are used, so it
doesn't make sense to have a separate helper for it.
Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit d772b98283f289917a6a8370808d4d0912899384)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/rpc_server/spoolss/srv_spoolss_nt.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/source3/rpc_server/spoolss/srv_spoolss_nt.c b/source3/rpc_server/spoolss/srv_spoolss_nt.c index 47fcdc1a35..3812153b5b 100644 --- a/source3/rpc_server/spoolss/srv_spoolss_nt.c +++ b/source3/rpc_server/spoolss/srv_spoolss_nt.c @@ -7145,27 +7145,6 @@ static WERROR fill_job_info2(TALLOC_CTX *mem_ctx, } /**************************************************************************** -fill_job_info3 -****************************************************************************/ - -static WERROR fill_job_info3(TALLOC_CTX *mem_ctx, - struct spoolss_JobInfo3 *r, - const print_queue_struct *queue, - const print_queue_struct *next_queue, - int position, int snum, - struct spoolss_PrinterInfo2 *pinfo2) -{ - r->job_id = queue->sysjob; - r->next_job_id = 0; - if (next_queue) { - r->next_job_id = next_queue->sysjob; - } - r->reserved = 0; - - return WERR_OK; -} - -/**************************************************************************** Enumjobs at level 1. ****************************************************************************/ |