diff --git a/uw_cfg_common.module b/uw_cfg_common.module
index 476a7f0fd6b687c71e4cd882121a73630e547049..ac28384152d44740eb0eaf95895a0d213e11ece9 100644
--- a/uw_cfg_common.module
+++ b/uw_cfg_common.module
@@ -146,7 +146,6 @@ function uw_cfg_common_toolbar_alter(&$items) {
   // Get the current user.
   $current_user = \Drupal::currentUser();
 
-  $user_id = $current_user->id();
   // Ensure that the current user is not user1.
   if ($current_user->id() !== '1') {