From 156e62e9e18e9584b3d4c29171eef163e6f58849 Mon Sep 17 00:00:00 2001
From: Tim Wickberg <tim@schedmd.com>
Date: Wed, 30 Nov 2016 12:48:20 -0500
Subject: [PATCH] file_bcast.h - remove unused max_blocks member of
 file_bcast_info

Never used and is uninitialized making backtraces more confusing.
Fix whitespace in bcast_parameters struct while here.

No functional change.
---
 src/bcast/file_bcast.h | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/bcast/file_bcast.h b/src/bcast/file_bcast.h
index 8e538cc263c..8f5c6354e2f 100644
--- a/src/bcast/file_bcast.h
+++ b/src/bcast/file_bcast.h
@@ -48,14 +48,14 @@ struct bcast_parameters {
 	uint32_t block_size;
 	uint16_t compress;
 	char *dst_fname;
-	int  fanout;
+	int fanout;
 	bool force;
 	uint32_t job_id;
 	bool preserve;
 	char *src_fname;
 	uint32_t step_id;
-	int  timeout;
-	int  verbose;
+	int timeout;
+	int verbose;
 };
 
 typedef struct file_bcast_info {
@@ -66,7 +66,6 @@ typedef struct file_bcast_info {
 	gid_t gid;		/* gid of owner */
 	uint32_t job_id;	/* job id */
 	time_t last_update;	/* transfer last block received */
-	int max_blocks;		/* highest block number (when known) */
 	int received_blocks;	/* number of blocks received */
 	time_t start_time;	/* transfer start time */
 	uid_t uid;		/* uid of owner */
-- 
GitLab