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 */
|
#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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user