summaryrefslogtreecommitdiffstats
path: root/net/mctp/route.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2021-10-01 14:56:52 +0100
committerDavid S. Miller <davem@davemloft.net>2021-10-01 14:59:33 +0100
commitb022f8866ea5014d39ae569897c271e41f5c9799 (patch)
tree1b54b2666ef22677e6e0ae68b481e1c47cdf1f6e /net/mctp/route.c
parentbfaf03935f7460c7dcb2722bbd2961d7b1ec7415 (diff)
downloadlinux-b022f8866ea5014d39ae569897c271e41f5c9799.tar.gz
linux-b022f8866ea5014d39ae569897c271e41f5c9799.tar.bz2
linux-b022f8866ea5014d39ae569897c271e41f5c9799.zip
Revert "Merge branch 'mctp-kunit-tests'"
This reverts commit 4f42ad2011d2fcbd89f5cdf56121271a8cd5ee5d, reversing changes made to ea2dd331bfaaeba74ba31facf437c29044f7d4cb. These chanfges break the build when mctp is modular. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mctp/route.c')
-rw-r--r--net/mctp/route.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/net/mctp/route.c b/net/mctp/route.c
index 04781459b2be..e20f3096d067 100644
--- a/net/mctp/route.c
+++ b/net/mctp/route.c
@@ -11,7 +11,6 @@
*/
#include <linux/idr.h>
-#include <linux/kconfig.h>
#include <linux/mctp.h>
#include <linux/netdevice.h>
#include <linux/rtnetlink.h>
@@ -1229,7 +1228,3 @@ void __exit mctp_routes_exit(void)
rtnl_unregister(PF_MCTP, RTM_GETROUTE);
dev_remove_pack(&mctp_packet_type);
}
-
-#if IS_ENABLED(CONFIG_MCTP_TEST)
-#include "test/route-test.c"
-#endif