aboutsummaryrefslogtreecommitdiffstats
path: root/net/bluetooth/a2mp.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2014-03-12 13:52:35 -0400
committerMarcel Holtmann <marcel@holtmann.org>2014-03-12 14:10:17 -0400
commitdcf4adbfdc7ad14ca50c1133f93f998c78493c2d (patch)
treef1ab021f3730ba5607a26a9a711f10855a3c9c8e /net/bluetooth/a2mp.c
parent4340a124dea6a6a66c7889261574a48e57e8782a (diff)
Bluetooth: Convert uses of __constant_<foo> to <foo>
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> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth/a2mp.c')
-rw-r--r--net/bluetooth/a2mp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/bluetooth/a2mp.c b/net/bluetooth/a2mp.c
index d6bb096ba0f1..9514cc9e850c 100644
--- a/net/bluetooth/a2mp.c
+++ b/net/bluetooth/a2mp.c
@@ -162,7 +162,7 @@ static int a2mp_discover_req(struct amp_mgr *mgr, struct sk_buff *skb,
162 return -ENOMEM; 162 return -ENOMEM;
163 } 163 }
164 164
165 rsp->mtu = __constant_cpu_to_le16(L2CAP_A2MP_DEFAULT_MTU); 165 rsp->mtu = cpu_to_le16(L2CAP_A2MP_DEFAULT_MTU);
166 rsp->ext_feat = 0; 166 rsp->ext_feat = 0;
167 167
168 __a2mp_add_cl(mgr, rsp->cl); 168 __a2mp_add_cl(mgr, rsp->cl);
@@ -649,7 +649,7 @@ static int a2mp_chan_recv_cb(struct l2cap_chan *chan, struct sk_buff *skb)
649 if (err) { 649 if (err) {
650 struct a2mp_cmd_rej rej; 650 struct a2mp_cmd_rej rej;
651 651
652 rej.reason = __constant_cpu_to_le16(0); 652 rej.reason = cpu_to_le16(0);
653 hdr = (void *) skb->data; 653 hdr = (void *) skb->data;
654 654
655 BT_DBG("Send A2MP Rej: cmd 0x%2.2x err %d", hdr->code, err); 655 BT_DBG("Send A2MP Rej: cmd 0x%2.2x err %d", hdr->code, err);