anitazha / rpms / ndctl

Forked from rpms/ndctl 2 years ago
Clone
Jeff Moyer 2c91dc
From 3297995248081d31d282fc9a339894989ff94e23 Mon Sep 17 00:00:00 2001
Jeff Moyer 2c91dc
From: Dan Williams <dan.j.williams@intel.com>
Jeff Moyer 2c91dc
Date: Wed, 5 Jan 2022 13:32:37 -0800
Jeff Moyer 2c91dc
Subject: [PATCH 079/217] build: Drop unnecessary $tool/config.h includes
Jeff Moyer 2c91dc
Jeff Moyer 2c91dc
In preparation for support for meson as the build infrastructure remove
Jeff Moyer 2c91dc
some explicit config.h includes that will be replaced by a unified config.h
Jeff Moyer 2c91dc
at the top of the project.
Jeff Moyer 2c91dc
Jeff Moyer 2c91dc
Link: https://lore.kernel.org/r/164141835727.3990253.12971738434561351928.stgit@dwillia2-desk3.amr.corp.intel.com
Jeff Moyer 2c91dc
Tested-by: Alison Schofield <alison.schofield@intel.com>
Jeff Moyer 2c91dc
Tested-by: Vaibhav Jain <vaibhav@linux.ibm.com>
Jeff Moyer 2c91dc
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Jeff Moyer 2c91dc
Signed-off-by: Vishal Verma <vishal.l.verma@intel.com>
Jeff Moyer 2c91dc
---
Jeff Moyer 2c91dc
 daxctl/migrate.c | 1 -
Jeff Moyer 2c91dc
 ndctl/keys.c     | 1 -
Jeff Moyer 2c91dc
 ndctl/monitor.c  | 1 -
Jeff Moyer 2c91dc
 3 files changed, 3 deletions(-)
Jeff Moyer 2c91dc
Jeff Moyer 2c91dc
diff -up ndctl-71.1/daxctl/migrate.c.orig ndctl-71.1/daxctl/migrate.c
Jeff Moyer 2c91dc
--- ndctl-71.1/daxctl/migrate.c.orig	2020-12-22 16:44:57.000000000 -0500
Jeff Moyer 2c91dc
+++ ndctl-71.1/daxctl/migrate.c	2022-10-07 16:01:20.316634385 -0400
Jeff Moyer 2c91dc
@@ -5,7 +5,6 @@
Jeff Moyer 2c91dc
 #include <stdio.h>
Jeff Moyer 2c91dc
 #include <errno.h>
Jeff Moyer 2c91dc
 #include <fcntl.h>
Jeff Moyer 2c91dc
-#include <daxctl/config.h>
Jeff Moyer 2c91dc
 #include <daxctl/libdaxctl.h>
Jeff Moyer 2c91dc
 #include <util/parse-options.h>
Jeff Moyer 2c91dc
 #include <ccan/array_size/array_size.h>
Jeff Moyer 2c91dc
diff -up ndctl-71.1/ndctl/keys.c.orig ndctl-71.1/ndctl/keys.c
Jeff Moyer 2c91dc
--- ndctl-71.1/ndctl/keys.c.orig	2022-10-07 16:01:03.161575978 -0400
Jeff Moyer 2c91dc
+++ ndctl-71.1/ndctl/keys.c	2022-10-07 16:01:20.317634389 -0400
Jeff Moyer 2c91dc
@@ -13,7 +13,6 @@
Jeff Moyer 2c91dc
 #include <keyutils.h>
Jeff Moyer 2c91dc
 #include <syslog.h>
Jeff Moyer 2c91dc
 
Jeff Moyer 2c91dc
-#include <ndctl/config.h>
Jeff Moyer 2c91dc
 #include <ndctl/ndctl.h>
Jeff Moyer 2c91dc
 #include <ndctl/libndctl.h>
Jeff Moyer 2c91dc
 
Jeff Moyer 2c91dc
diff -up ndctl-71.1/ndctl/monitor.c.orig ndctl-71.1/ndctl/monitor.c
Jeff Moyer 2c91dc
--- ndctl-71.1/ndctl/monitor.c.orig	2022-10-07 16:01:03.164575988 -0400
Jeff Moyer 2c91dc
+++ ndctl-71.1/ndctl/monitor.c	2022-10-07 16:01:20.318634392 -0400
Jeff Moyer 2c91dc
@@ -10,7 +10,6 @@
Jeff Moyer 2c91dc
 #include <util/util.h>
Jeff Moyer 2c91dc
 #include <util/parse-options.h>
Jeff Moyer 2c91dc
 #include <util/strbuf.h>
Jeff Moyer 2c91dc
-#include <ndctl/config.h>
Jeff Moyer 2c91dc
 #include <ndctl/ndctl.h>
Jeff Moyer 2c91dc
 #include <ndctl/libndctl.h>
Jeff Moyer 2c91dc
 #include <sys/epoll.h>