diff mbox series

[v2,06/15] libtracefs: Remove unneeded blkflags from Makefile

Message ID 20211217055041.19559-7-rostedt@goodmis.org (mailing list archive)
State Accepted
Commit ee94a9da8ed78504882515bcb128d479e6c780e0
Headers show
Series libtracefs: Updates to the Makefile | expand

Commit Message

Steven Rostedt Dec. 17, 2021, 5:50 a.m. UTC
From: "Steven Rostedt (VMware)" <rostedt@goodmis.org>

The blkflags were leftover from copying from trace-cmd for handling the
blk tracer. They are not needed for the libtracefs library.
Remove them.

Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
---
 Makefile | 3 ---
 1 file changed, 3 deletions(-)
diff mbox series

Patch

diff --git a/Makefile b/Makefile
index d92bec9f1ed7..07c9496364bd 100644
--- a/Makefile
+++ b/Makefile
@@ -104,9 +104,6 @@  SILENT := $(if $(findstring s,$(filter-out --%,$(MAKEFLAGS))),1)
 test-build = $(if $(shell sh -c 'echo "$(1)" | \
 	$(CC) -o /dev/null -c -x c - > /dev/null 2>&1 && echo y'), $2)
 
-# have flush/fua block layer instead of barriers?
-blk-flags := $(call test-build,$(BLK_TC_FLUSH_SOURCE),-DHAVE_BLK_TC_FLUSH)
-
 ifeq ("$(origin O)", "command line")
 
   saved-output := $(O)