Skip to content

Commit

Permalink
stored: Remove unused struct member ser_buf.
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco van Wieringen committed May 12, 2016
1 parent 2742a82 commit 0736fd0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions src/stored/record.c
Original file line number Diff line number Diff line change
Expand Up @@ -278,9 +278,6 @@ void dump_record(const char *tag, const DEV_RECORD *rec)
}
Dmsg3(100, "%-14s %u (%s)\n", "state", rec->state, record_state_to_ascii(rec->state));
Dmsg2(100, "%-14s %p\n", "bsr", rec->bsr);
for (unsigned int i = 0; i < (sizeof(rec->ser_buf) / sizeof(rec->ser_buf[0])); i++) {
Dmsg3(100, "%-11s[%d] %2.2x\n", "ser_buf", i, (uint8_t)rec->ser_buf[i]);
}
Dmsg2(100, "%-14s %p\n", "data", rec->data);
Dmsg2(100, "%-14s %d\n", "match_stat", rec->match_stat);
Dmsg2(100, "%-14s %u\n", "last_VolSessionId", rec->last_VolSessionId);
Expand Down
1 change: 0 additions & 1 deletion src/stored/record.h
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ struct DEV_RECORD {
char state_bits[REC_STATE_BYTES]; /* State bits */
rec_state state; /* State of write_record_to_block */
BSR *bsr; /* Pointer to bsr that matched */
uint8_t ser_buf[WRITE_RECHDR_LENGTH]; /* Serialized record header goes here */
POOLMEM *data; /* Record data. This MUST be a memory pool item */
int32_t match_stat; /* BSR match status */
uint32_t last_VolSessionId; /* Used in sequencing FI for Vbackup */
Expand Down

0 comments on commit 0736fd0

Please sign in to comment.