]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
net: do not manually initialize enumerators
authorJean Sacren <sakiwit@gmail.com>
Sat, 1 Jun 2013 16:23:16 +0000 (16:23 +0000)
committerDavid 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

index 99c9f0c103c23ccaab15e69fe6f684cd8e21c943..4f27575ce1d67ebe74d1bba4f40a70f6edbdea11 100644 (file)
@@ -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 {