summaryrefslogtreecommitdiff
path: root/net/iucv/af_iucv.c
diff options
context:
space:
mode:
authorJulian Wiedmann <jwi@linux.ibm.com>2020-05-19 22:10:11 +0300
committerDavid S. Miller <davem@davemloft.net>2020-05-19 22:50:14 +0300
commitdca1262f97499337489da7f5aa0bc6fec247a83f (patch)
treef1565e190a35f496920c898c7b98155183a02f3a /net/iucv/af_iucv.c
parent0d1c7664ed2044048d5ed790b943affa296bc3a4 (diff)
downloadlinux-dca1262f97499337489da7f5aa0bc6fec247a83f.tar.xz
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>
Diffstat (limited to 'net/iucv/af_iucv.c')
-rw-r--r--net/iucv/af_iucv.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/iucv/af_iucv.c b/net/iucv/af_iucv.c
index b02470a04c50..799dcf5483de 100644
--- a/net/iucv/af_iucv.c
+++ b/net/iucv/af_iucv.c
@@ -996,7 +996,6 @@ static int iucv_sock_sendmsg(struct socket *sock, struct msghdr *msg,
/* initialize defaults */
cmsg_done = 0; /* check for duplicate headers */
- txmsg.class = 0;
/* iterate over control messages */
for_each_cmsghdr(cmsg, msg) {