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>
This commit is contained in:
Julian Wiedmann 2020-05-19 21:10:11 +02:00 коммит произвёл David S. Miller
Родитель 0d1c7664ed
Коммит dca1262f97
1 изменённых файлов: 0 добавлений и 1 удалений

Просмотреть файл

@ -996,7 +996,6 @@ static int iucv_sock_sendmsg(struct socket *sock, struct msghdr *msg,
/* initialize defaults */ /* initialize defaults */
cmsg_done = 0; /* check for duplicate headers */ cmsg_done = 0; /* check for duplicate headers */
txmsg.class = 0;
/* iterate over control messages */ /* iterate over control messages */
for_each_cmsghdr(cmsg, msg) { for_each_cmsghdr(cmsg, msg) {