From: Jean Sacren <sakiwit@gmail.com>
To: netdev@vger.kernel.org
Subject: [PATCH net-next 2/2] net: uapi: do not manually set the first enumerator to zero
Date: Sun, 23 Jun 2013 15:56:17 -0600 [thread overview]
Message-ID: <1372024577-6343-2-git-send-email-sakiwit@gmail.com> (raw)
In-Reply-To: <1372024577-6343-1-git-send-email-sakiwit@gmail.com>
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(-)
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 */
next prev parent reply other threads:[~2013-06-23 21:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-23 21:56 [PATCH net-next 1/2] net: convert lists of macros to enumerations Jean Sacren
2013-06-23 21:56 ` Jean Sacren [this message]
2013-06-24 15:14 ` Stephen Hemminger
2013-06-25 23:26 ` David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1372024577-6343-2-git-send-email-sakiwit@gmail.com \
--to=sakiwit@gmail.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).