From: Jean Sacren Date: Sat, 1 Jun 2013 16:23:16 +0000 (+0000) Subject: net: do not manually initialize enumerators X-Git-Tag: v3.11-rc1~16^2~193 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=0e9649c143eb9d7ecaaef221fd411e5c747f97ce;p=~emulex%2Finfiniband.git net: do not manually initialize enumerators Clean up unnecessary initialization of enumerators as the compiler takes care of that. Signed-off-by: Jean Sacren Signed-off-by: David S. Miller --- diff --git a/include/linux/net.h b/include/linux/net.h index 99c9f0c103c..4f27575ce1d 100644 --- 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 {