mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Joe Perches <joe@perches.com>
To: netdev@vger.kernel.org
Cc: Jon Maloy <jon.maloy@ericsson.com>,
	Allan Stephens <allan.stephens@windriver.com>,
	"David S. Miller" <davem@davemloft.net>,
	tipc-discussion@lists.sourceforge.net,
	linux-kernel@vger.kernel.org
Subject: [PATCH net-next 6/6] tipc: Convert uses of __constant_<foo> to <foo>
Date: Wed, 12 Mar 2014 10:04:20 -0700	[thread overview]
Message-ID: <3f2447bc68b2fce7aa854eca0f6a1e263ec3669a.1394643455.git.joe@perches.com> (raw)
In-Reply-To: <cover.1394643455.git.joe@perches.com>

The use of __constant_<foo> has been unnecessary for quite awhile now.

Make these uses consistent with the rest of the kernel.

Signed-off-by: Joe Perches <joe@perches.com>
---
 net/tipc/bearer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/tipc/bearer.c b/net/tipc/bearer.c
index 89c4c2d..7f1f95c 100644
--- a/net/tipc/bearer.c
+++ b/net/tipc/bearer.c
@@ -575,7 +575,7 @@ static int tipc_l2_device_event(struct notifier_block *nb, unsigned long evt,
 }
 
 static struct packet_type tipc_packet_type __read_mostly = {
-	.type = __constant_htons(ETH_P_TIPC),
+	.type = htons(ETH_P_TIPC),
 	.func = tipc_l2_rcv_msg,
 };
 
-- 
1.8.1.2.459.gbcd45b4.dirty


  parent reply	other threads:[~2014-03-12 17:05 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-12 17:04 [PATCH net-next 0/6] net: " Joe Perches
2014-03-12 17:04 ` [PATCH net-next 1/6] 8021q: " Joe Perches
2014-03-12 19:28   ` David Miller
2014-03-12 17:04 ` [PATCH net-next 2/6] bluetooth: " Joe Perches
2014-03-12 17:26   ` Marcel Holtmann
2014-03-12 17:52     ` [PATCH V2 bluetooth-next " Joe Perches
2014-03-12 18:11       ` Marcel Holtmann
2014-03-12 18:22         ` Joe Perches
2014-03-12 19:28   ` [PATCH net-next " David Miller
2014-03-12 17:04 ` [PATCH net-next 3/6] net: " Joe Perches
2014-03-12 19:28   ` David Miller
2014-03-12 17:04 ` [PATCH net-next 4/6] ieee802154: " Joe Perches
2014-03-12 19:28   ` David Miller
2014-03-12 17:04 ` [PATCH net-next 5/6] netfilter: " Joe Perches
2014-03-12 19:28   ` David Miller
2014-03-13 13:13     ` Pablo Neira Ayuso
2014-03-12 19:41   ` Jozsef Kadlecsik
2014-03-12 17:04 ` Joe Perches [this message]
2014-03-12 19:29   ` [PATCH net-next 6/6] tipc: " 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=3f2447bc68b2fce7aa854eca0f6a1e263ec3669a.1394643455.git.joe@perches.com \
    --to=joe@perches.com \
    --cc=allan.stephens@windriver.com \
    --cc=davem@davemloft.net \
    --cc=jon.maloy@ericsson.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=tipc-discussion@lists.sourceforge.net \
    /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

all inboxes | Powered by JetHome®