diff --git a/modules/salesforce_pull/src/DeleteHandler.php b/modules/salesforce_pull/src/DeleteHandler.php
index e11a9db4749f02ff7baede83761573d16c0875dc..156eceb8f0878723a1b3d1b43c03f07994873efa 100644
--- a/modules/salesforce_pull/src/DeleteHandler.php
+++ b/modules/salesforce_pull/src/DeleteHandler.php
@@ -227,7 +227,6 @@ class DeleteHandler {
       try {
         // Flag this entity to avoid duplicate processing.
         $entity->setSyncing(TRUE);
-        $entity_id = $entity->id(),
         $entity->delete();
         $message = 'Deleted entity %label with ID: %id associated with Salesforce Object ID: %sfid';
         $args = [