summaryrefslogtreecommitdiff
path: root/source3/printing/pcap.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/printing/pcap.c')
-rw-r--r--source3/printing/pcap.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/source3/printing/pcap.c b/source3/printing/pcap.c
index 7a733b1c3c..7208f4b7f8 100644
--- a/source3/printing/pcap.c
+++ b/source3/printing/pcap.c
@@ -139,12 +139,6 @@ void pcap_cache_reload(struct tevent_context *ev,
return;
}
- if (!printer_list_need_refresh()) {
- /* has been just refeshed, skip */
- DEBUG(5, ("Refresh just happend, skipping.\n"));
- return;
- }
-
status = printer_list_mark_reload();
if (!NT_STATUS_IS_OK(status)) {
DEBUG(0, ("Failed to mark printer list for reload!\n"));