diff options
author | Julian Wiedmann <jwi@linux.ibm.com> | 2020-05-19 21:10:11 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-05-19 12:50:14 -0700 |
commit | dca1262f97499337489da7f5aa0bc6fec247a83f (patch) | |
tree | f1565e190a35f496920c898c7b98155183a02f3a /net/iucv | |
parent | 0d1c7664ed2044048d5ed790b943affa296bc3a4 (diff) |
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')
-rw-r--r-- | net/iucv/af_iucv.c | 1 |
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) { |