Subject: Re: [PATCH net-next 2/3] net: do not manually initialize enumerators

From: Jean Sacren <[email-masked]>
Date: Sat, 1 Jun 2013 21:18:13 -0600

From: Joe Perches <[email-masked]>
Date: Sat, 01 Jun 2013 19:40:03 -0700
>
> On Sat, 2013-06-01 at 20:23 -0600, Jean Sacren wrote:
> > Clean up unnecessary initialization of enumerators as the compiler takes
> > care of that.
> []
> > diff --git a/include/linux/net.h b/include/linux/net.h
> []
> >  enum sock_shutdown_cmd {
> > -	SHUT_RD		= 0,
> > -	SHUT_WR		= 1,
> > -	SHUT_RDWR	= 2,
> > +	SHUT_RD,
> > +	SHUT_WR,
> > +	SHUT_RDWR,
> >  };
> 
> The compiler may do the same thing,
> but specificity is good.

Thank you for your input. Could you elaborate on 'specificity' in this
specific case?

-- 
Jean Sacren