diff --git a/html/includes/functions.inc.php b/html/includes/functions.inc.php
index 9ee224ab3..232d63882 100644
--- a/html/includes/functions.inc.php
+++ b/html/includes/functions.inc.php
@@ -736,7 +736,6 @@ function devclass($device) {
function getlocations() {
- $ignore_dev_location = array();
$locations = array();
// Fetch regular locations