Skip to content

Commit 33cc9be

Browse files
committed
Remove the parms::msg_status field
This field appears to be unused. Signed-off-by: Chuck Lever <[email protected]>
1 parent 9b1a0c8 commit 33cc9be

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/tlshd/netlink.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,6 @@ static const struct tlshd_handshake_parms tlshd_default_handshake_parms = {
375375
.x509_privkey = TLS_NO_PRIVKEY,
376376
.peerids = NULL,
377377
.remote_peerids = NULL,
378-
.msg_status = 0,
379378
.session_status = EIO,
380379
};
381380

@@ -451,7 +450,7 @@ int tlshd_genl_get_handshake_parms(struct tlshd_handshake_parms *parms)
451450
goto out_msgfree;
452451
}
453452

454-
ret = parms->msg_status;
453+
ret = 0;
455454

456455
out_msgfree:
457456
nlmsg_free(msg);

src/tlshd/tlshd.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ struct tlshd_handshake_parms {
4040
key_serial_t x509_privkey;
4141
GArray *peerids;
4242
GArray *remote_peerids;
43-
int msg_status;
4443

4544
unsigned int session_status;
4645
};

0 commit comments

Comments
 (0)