diff options
author | Jean Sacren <sakiwit@gmail.com> | 2013-06-01 12:23:16 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-06-04 18:17:38 -0400 |
commit | 0e9649c143eb9d7ecaaef221fd411e5c747f97ce (patch) | |
tree | 9eb159b8b3acb935c119425ad263153f1ceac7ad | |
parent | ebd4687af732a903f6822bb129d2f3a7d830e798 (diff) |
net: do not manually initialize enumerators
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>
-rw-r--r-- | include/linux/net.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/net.h b/include/linux/net.h index 99c9f0c103c2..4f27575ce1d6 100644 --- a/include/linux/net.h +++ b/include/linux/net.h | |||
@@ -79,9 +79,9 @@ enum sock_type { | |||
79 | #endif /* ARCH_HAS_SOCKET_TYPES */ | 79 | #endif /* ARCH_HAS_SOCKET_TYPES */ |
80 | 80 | ||
81 | enum sock_shutdown_cmd { | 81 | enum sock_shutdown_cmd { |
82 | SHUT_RD = 0, | 82 | SHUT_RD, |
83 | SHUT_WR = 1, | 83 | SHUT_WR, |
84 | SHUT_RDWR = 2, | 84 | SHUT_RDWR, |
85 | }; | 85 | }; |
86 | 86 | ||
87 | struct socket_wq { | 87 | struct socket_wq { |