scst: Remove support for RHEL5/6

The SCST has dropped support for RHEL5/6 since v3.6.
This commit is contained in:
Gleb Chesnokov
2023-05-10 13:24:47 +03:00
parent 92db6a9fc5
commit 68461f5876
4 changed files with 2 additions and 25 deletions
-6
View File
@@ -48,12 +48,6 @@
#include <linux/version.h>
#include <scst.h>
#endif
#if defined(RHEL_MAJOR) && RHEL_MAJOR -0 == 5
#define vlan_dev_vlan_id(dev) (panic("RHEL 5 misses vlan_dev_vlan_id()"), 0)
#endif
#if defined(RHEL_MAJOR) && RHEL_MAJOR -0 <= 6
#define __ethtool_get_settings(dev, cmd) (panic("RHEL misses __ethtool_get_settings()"), 0)
#endif
#include <linux/rtnetlink.h>
#include <rdma/rdma_cm.h>
#include "ib_dm_mad.h"