diff --git a/tools/distrib/python/grpcio_tools/setup.py b/tools/distrib/python/grpcio_tools/setup.py
index 188fc66191ba78f128984e5269842e51b89e9f68..d49d18e957276f62eab727719b023caee574f7c4 100644
--- a/tools/distrib/python/grpcio_tools/setup.py
+++ b/tools/distrib/python/grpcio_tools/setup.py
@@ -138,7 +138,6 @@ def package_data():
     proto_files.append(relative_target)
   return {GRPC_PYTHON_TOOLS_PACKAGE: proto_files}
 
-<<<<<<< HEAD
 def extension_modules():
   if BUILD_WITH_CYTHON:
     plugin_sources = ['grpc/tools/_protoc_compiler.pyx']
@@ -152,19 +151,6 @@ def extension_modules():
   plugin_ext = extension.Extension(
       name='grpc.tools._protoc_compiler',
       sources=plugin_sources,
-=======
-def protoc_ext_module():
-  plugin_sources = [
-      os.path.join('grpc', 'tools', 'main.cc'),
-      os.path.join('grpc_root', 'src', 'compiler', 'python_generator.cc')] + [
-      os.path.join(CC_INCLUDE, cc_file)
-      for cc_file in CC_FILES]
-  plugin_ext = extension.Extension(
-      name='grpc.tools._protoc_compiler',
-      sources=(
-          [os.path.join('grpc', 'tools', '_protoc_compiler.pyx')] +
-          plugin_sources),
->>>>>>> upstream/v1.0.x
       include_dirs=[
           '.',
           'grpc_root',