diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c8eeb30e92b3c580d6a7bf3e5cc0ffd0548e0c84..a24789a1bed0aacbaeb559628c220fbab414750f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -356,9 +356,6 @@ test:offline:
 
     - cd gstlal-inspiral/tests
 
-    # Patch gstlal_inspiral to disable servicediscovery/avahi:
-    - patch /usr/bin/gstlal_inspiral ./disable_service_discovery.patch
-
     # Run the makefile:
     - make -f Makefile.offline_tutorial_test
 
@@ -414,13 +411,6 @@ docker:el7:
     # add RPMs to directory to pass to docker
     - mkdir rpms 
 
-    # Copy over patch that will be used to disable servicediscovery.
-    # In the dockerfile, first install the rpms, and then apply the 
-    # patch to /usr/bin/gstlal-inspiral. Just put it in the same 
-    # directory as where the rpms are going to get copied. 
-
-    - cp gstlal-inspiral/tests/disable_service_discovery.patch rpms/
-
     # Copy rpms to new container.
     - mv rpmbuild/RPMS/x86_64/*.rpm rpms