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>
This commit is contained in:
Jean Sacren 2013-06-01 16:23:16 +00:00 committed by David S. Miller
parent ebd4687af7
commit 0e9649c143

View file

@ -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 {