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:
Родитель
0d1c7664ed
Коммит
dca1262f97
|
@ -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) {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче