projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d1c766
)
net/af_iucv: remove a redundant zero initialization
author
Julian Wiedmann
<jwi@linux.ibm.com>
Tue, 19 May 2020 19:10:11 +0000
(21:10 +0200)
committer
David S. Miller
<davem@davemloft.net>
Tue, 19 May 2020 19:50:14 +0000
(12:50 -0700)
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>
net/iucv/af_iucv.c
patch
|
blob
|
history
diff --git
a/net/iucv/af_iucv.c
b/net/iucv/af_iucv.c
index
b02470a
..
799dcf5
100644
(file)
--- 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) {