projects
/
platform
/
upstream
/
kernel-adaptation-pc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ebd4687
)
net: do not manually initialize enumerators
author
Jean Sacren
<sakiwit@gmail.com>
Sat, 1 Jun 2013 16:23:16 +0000
(16:23 +0000)
committer
David S. Miller
<davem@davemloft.net>
Tue, 4 Jun 2013 22:17:38 +0000
(15:17 -0700)
Clean up unnecessary initialization of enumerators as the compiler takes
care of that.
Signed-off-by: Jean Sacren <sakiwit@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/net.h
patch
|
blob
|
history
diff --git
a/include/linux/net.h
b/include/linux/net.h
index
99c9f0c
..
4f27575
100644
(file)
--- a/
include/linux/net.h
+++ b/
include/linux/net.h
@@
-79,9
+79,9
@@
enum sock_type {
#endif /* ARCH_HAS_SOCKET_TYPES */
enum sock_shutdown_cmd {
- SHUT_RD
= 0
,
- SHUT_WR
= 1
,
- SHUT_RDWR
= 2
,
+ SHUT_RD,
+ SHUT_WR,
+ SHUT_RDWR,
};
struct socket_wq {