diff --git a/redirect.module b/redirect.module
index a503159..88d7d7b 100644
--- a/redirect.module
+++ b/redirect.module
@@ -225,23 +225,6 @@ function redirect_url_inbound_alter(&$path, $original_path, $path_language) {
       redirect_set_current_redirect($redirect);
     }
   }
-
-  // Redirect to canonical URLs.
-  if ($path && variable_get('redirect_canonical', 1)) {
-    $alias = drupal_get_path_alias($path, $path_language);
-    if ($alias != $path && $alias != $original_path) {
-      //return redirect_redirect(array('redirect' => $alias, 'type' => 'global'));
-    }
-
-    // Redirect from default entity paths to the proper entity path.
-    //if ($path_entity = redirect_load_entity_from_path($path)) {
-    //  if ($uri = entity_uri($path_entity['entity_type'], $path_entity['entity'])) {
-    //    if ($path != $uri['path']) {
-    //      return redirect_redirect(array('redirect' => $uri['path'], 'redirect_options' => $uri['options'], 'type' => 'global'));
-    //    }
-    //  }
-    //}
-  }
 }
 
 /**
