Commit 0e9649c1 authored by Jean Sacren's avatar Jean Sacren Committed by David S. Miller

net: do not manually initialize enumerators

Clean up unnecessary initialization of enumerators as the compiler takes
care of that.
Signed-off-by: default avatarJean Sacren <sakiwit@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ebd4687a
...@@ -79,9 +79,9 @@ enum sock_type { ...@@ -79,9 +79,9 @@ enum sock_type {
#endif /* ARCH_HAS_SOCKET_TYPES */ #endif /* ARCH_HAS_SOCKET_TYPES */
enum sock_shutdown_cmd { enum sock_shutdown_cmd {
SHUT_RD = 0, SHUT_RD,
SHUT_WR = 1, SHUT_WR,
SHUT_RDWR = 2, SHUT_RDWR,
}; };
struct socket_wq { struct socket_wq {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment