Skip to content

Commit dca1262

Browse files
julianwiedmanndavem330
authored andcommitted
net/af_iucv: remove a redundant zero initialization
txmsg is declared as {0}, no need to clear individual fields later on. Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 0d1c766 commit dca1262

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎net/iucv/af_iucv.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -996,7 +996,6 @@ static int iucv_sock_sendmsg(struct socket *sock, struct msghdr *msg,
996996

997997
/* initialize defaults */
998998
cmsg_done = 0; /* check for duplicate headers */
999-
txmsg.class = 0;
1000999

10011000
/* iterate over control messages */
10021001
for_each_cmsghdr(cmsg, msg) {

0 commit comments

Comments
 (0)