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:
parent
ebd4687af7
commit
0e9649c143
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue