diff --git a/tools/perf/util/session.h b/tools/perf/util/session.h
index 6b51d47acdbadca354f5d05c77193e69a4100778..f3b235ec7bf445f4beb3f8481255c6786c2d3e35 100644
--- a/tools/perf/util/session.h
+++ b/tools/perf/util/session.h
@@ -37,7 +37,6 @@ struct perf_session {
 	int			fd;
 	bool			fd_pipe;
 	bool			repipe;
-	int			cwdlen;
 	char			*cwd;
 	struct ordered_samples	ordered_samples;
 	char			filename[1];