targetting: Remove old sysfs path

This was required for old kernels (4.7 and earlier). It is unlikely
anyone is using modern OpenBMC on these kernels, so drop support.

Signed-off-by: Joel Stanley <joel@jms.id.au>
Change-Id: Ib5c50cc3c07a38fc7af75b6784dac692c7f8b153
diff --git a/targeting.cpp b/targeting.cpp
index a9f3d8e..a24031b 100644
--- a/targeting.cpp
+++ b/targeting.cpp
@@ -67,16 +67,6 @@
 {
     std::regex exp{"fsi1/slave@([0-9]{2}):00", std::regex::extended};
 
-    if (!fs::exists(fsiMasterPath))
-    {
-        std::regex expOld{"hub@00/slave@([0-9]{2}):00", std::regex::extended};
-
-        // Fall back to old (4.7) path
-        exp = expOld;
-        fsiMasterPath = fsiMasterDevPathOld;
-        fsiSlaveBasePath = fsiSlaveBaseDirOld;
-    }
-
     // Always create P0, the FSI master.
     targets.push_back(std::make_unique<Target>(0, fsiMasterPath));
     try
diff --git a/targeting.hpp b/targeting.hpp
index 0ddae26..204b901 100644
--- a/targeting.hpp
+++ b/targeting.hpp
@@ -12,13 +12,9 @@
 
 constexpr auto fsiMasterDevPath =
     "/sys/devices/platform/gpio-fsi/fsi0/slave@00:00/raw";
-constexpr auto fsiMasterDevPathOld =
-    "/sys/devices/platform/fsi-master/slave@00:00/raw";
 
 constexpr auto fsiSlaveBaseDir =
     "/sys/devices/platform/gpio-fsi/fsi0/slave@00:00/00:00:00:0a/fsi1/";
-constexpr auto fsiSlaveBaseDirOld =
-    "/sys/devices/platform/fsi-master/slave@00:00/hub@00/";
 
 /**
  * Represents a specific P9 processor in the system.  Used by