Patchwork [net-next,2/2] net: uapi: do not manually set the first enumerator to zero

login
register
mail settings
Submitter Jean Sacren
Date June 23, 2013, 9:56 p.m.
Message ID <1372024577-6343-2-git-send-email-sakiwit@gmail.com>
Download mbox | patch
Permalink /patch/253608/
State Rejected
Delegated to: David Miller
Headers show

Comments

Jean Sacren - June 23, 2013, 9:56 p.m.
Clean up the unnecessary assignment of the first enumerator to zero.

Signed-off-by: Jean Sacren <sakiwit@gmail.com>
---
 include/uapi/linux/net.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/include/uapi/linux/net.h b/include/uapi/linux/net.h
index 9136b54..9177fd3 100644
--- a/include/uapi/linux/net.h
+++ b/include/uapi/linux/net.h
@@ -48,7 +48,7 @@  enum {
 };
 
 typedef enum {
-	SS_FREE = 0,			/* not allocated		*/
+	SS_FREE,			/* not allocated		*/
 	SS_UNCONNECTED,			/* unconnected to any socket	*/
 	SS_CONNECTING,			/* in process of connecting	*/
 	SS_CONNECTED,			/* connected to socket		*/