Commit d134b78e authored by David S. Miller's avatar David S. Miller

Merge branch 'net-various-delete-duplicated-words'

Randy Dunlap says:

====================
net: various: delete duplicated words

[PATCH 1/7 net-next] net: core: delete duplicated words
[PATCH 2/7 net-next] net: rds: delete duplicated words
[PATCH 3/7 net-next] net: ipv6: delete duplicated words
[PATCH 4/7 net-next] net: bluetooth: delete duplicated words
[PATCH 5/7 net-next] net: tipc: delete duplicated words
[PATCH 6/7 net-next] net: atm: delete duplicated words
[PATCH 7/7 net-next] net: bridge: delete duplicated words
====================
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parents 785a2b10 4bbd026c
...@@ -1070,7 +1070,7 @@ module_exit(lane_module_cleanup); ...@@ -1070,7 +1070,7 @@ module_exit(lane_module_cleanup);
/* /*
* LANE2: 3.1.3, LE_RESOLVE.request * LANE2: 3.1.3, LE_RESOLVE.request
* Non force allocates memory and fills in *tlvs, fills in *sizeoftlvs. * Non force allocates memory and fills in *tlvs, fills in *sizeoftlvs.
* If sizeoftlvs == NULL the default TLVs associated with with this * If sizeoftlvs == NULL the default TLVs associated with this
* lec will be used. * lec will be used.
* If dst_mac == NULL, targetless LE_ARP will be sent * If dst_mac == NULL, targetless LE_ARP will be sent
*/ */
......
...@@ -52,7 +52,7 @@ static void modify_qos(struct atm_vcc *vcc, struct atmsvc_msg *msg) ...@@ -52,7 +52,7 @@ static void modify_qos(struct atm_vcc *vcc, struct atmsvc_msg *msg)
msg->type = as_okay; msg->type = as_okay;
} }
/* /*
* Should probably just turn around the old skb. But the, the buffer * Should probably just turn around the old skb. But then, the buffer
* space accounting needs to follow the change too. Maybe later. * space accounting needs to follow the change too. Maybe later.
*/ */
while (!(skb = alloc_skb(sizeof(struct atmsvc_msg), GFP_KERNEL))) while (!(skb = alloc_skb(sizeof(struct atmsvc_msg), GFP_KERNEL)))
......
...@@ -1388,7 +1388,7 @@ static int hci_conn_auth(struct hci_conn *conn, __u8 sec_level, __u8 auth_type) ...@@ -1388,7 +1388,7 @@ static int hci_conn_auth(struct hci_conn *conn, __u8 sec_level, __u8 auth_type)
return 0; return 0;
} }
/* Encrypt the the link */ /* Encrypt the link */
static void hci_conn_encrypt(struct hci_conn *conn) static void hci_conn_encrypt(struct hci_conn *conn)
{ {
BT_DBG("hcon %p", conn); BT_DBG("hcon %p", conn);
......
...@@ -808,7 +808,7 @@ static int hci_init4_req(struct hci_request *req, unsigned long opt) ...@@ -808,7 +808,7 @@ static int hci_init4_req(struct hci_request *req, unsigned long opt)
* Delete Stored Link Key command. They are clearly indicating its * Delete Stored Link Key command. They are clearly indicating its
* absence in the bit mask of supported commands. * absence in the bit mask of supported commands.
* *
* Check the supported commands and only if the the command is marked * Check the supported commands and only if the command is marked
* as supported send it. If not supported assume that the controller * as supported send it. If not supported assume that the controller
* does not have actual support for stored link keys which makes this * does not have actual support for stored link keys which makes this
* command redundant anyway. * command redundant anyway.
......
...@@ -103,7 +103,7 @@ static int add_del_if(struct net_bridge *br, int ifindex, int isadd) ...@@ -103,7 +103,7 @@ static int add_del_if(struct net_bridge *br, int ifindex, int isadd)
/* /*
* Legacy ioctl's through SIOCDEVPRIVATE * Legacy ioctl's through SIOCDEVPRIVATE
* This interface is deprecated because it was too difficult to * This interface is deprecated because it was too difficult
* to do the translation for 32/64bit ioctl compatibility. * to do the translation for 32/64bit ioctl compatibility.
*/ */
static int old_dev_ioctl(struct net_device *dev, struct ifreq *rq, int cmd) static int old_dev_ioctl(struct net_device *dev, struct ifreq *rq, int cmd)
......
...@@ -140,7 +140,7 @@ static int __vlan_vid_del(struct net_device *dev, struct net_bridge *br, ...@@ -140,7 +140,7 @@ static int __vlan_vid_del(struct net_device *dev, struct net_bridge *br,
return err == -EOPNOTSUPP ? 0 : err; return err == -EOPNOTSUPP ? 0 : err;
} }
/* Returns a master vlan, if it didn't exist it gets created. In all cases a /* Returns a master vlan, if it didn't exist it gets created. In all cases
* a reference is taken to the master vlan before returning. * a reference is taken to the master vlan before returning.
*/ */
static struct net_bridge_vlan * static struct net_bridge_vlan *
......
...@@ -1131,7 +1131,7 @@ EXPORT_SYMBOL(__dev_get_by_flags); ...@@ -1131,7 +1131,7 @@ EXPORT_SYMBOL(__dev_get_by_flags);
* @name: name string * @name: name string
* *
* Network device names need to be valid file names to * Network device names need to be valid file names to
* to allow sysfs to work. We also disallow any kind of * allow sysfs to work. We also disallow any kind of
* whitespace. * whitespace.
*/ */
bool dev_valid_name(const char *name) bool dev_valid_name(const char *name)
...@@ -9512,7 +9512,7 @@ int __netdev_update_features(struct net_device *dev) ...@@ -9512,7 +9512,7 @@ int __netdev_update_features(struct net_device *dev)
/* driver might be less strict about feature dependencies */ /* driver might be less strict about feature dependencies */
features = netdev_fix_features(dev, features); features = netdev_fix_features(dev, features);
/* some features can't be enabled if they're off an an upper device */ /* some features can't be enabled if they're off on an upper device */
netdev_for_each_upper_dev_rcu(dev, upper, iter) netdev_for_each_upper_dev_rcu(dev, upper, iter)
features = netdev_sync_upper_features(dev, upper, features); features = netdev_sync_upper_features(dev, upper, features);
......
...@@ -1492,7 +1492,7 @@ static int __ip6_append_data(struct sock *sk, ...@@ -1492,7 +1492,7 @@ static int __ip6_append_data(struct sock *sk,
* Otherwise, we need to reserve fragment header and * Otherwise, we need to reserve fragment header and
* fragment alignment (= 8-15 octects, in total). * fragment alignment (= 8-15 octects, in total).
* *
* Note that we may need to "move" the data from the tail of * Note that we may need to "move" the data from the tail
* of the buffer to the new fragment when we split * of the buffer to the new fragment when we split
* the message. * the message.
* *
......
...@@ -458,7 +458,7 @@ static int tcp_v6_err(struct sk_buff *skb, struct inet6_skb_parm *opt, ...@@ -458,7 +458,7 @@ static int tcp_v6_err(struct sk_buff *skb, struct inet6_skb_parm *opt,
case TCP_SYN_SENT: case TCP_SYN_SENT:
case TCP_SYN_RECV: case TCP_SYN_RECV:
/* Only in fast or simultaneous open. If a fast open socket is /* Only in fast or simultaneous open. If a fast open socket is
* is already accepted it is treated as a connected one below. * already accepted it is treated as a connected one below.
*/ */
if (fastopen && !fastopen->sk) if (fastopen && !fastopen->sk)
break; break;
......
...@@ -236,7 +236,7 @@ void rds_cong_queue_updates(struct rds_cong_map *map) ...@@ -236,7 +236,7 @@ void rds_cong_queue_updates(struct rds_cong_map *map)
* tcp_setsockopt and/or tcp_sendmsg will deadlock * tcp_setsockopt and/or tcp_sendmsg will deadlock
* when it tries to get the sock_lock()) * when it tries to get the sock_lock())
* 2. Interrupts are masked so that we can mark the * 2. Interrupts are masked so that we can mark the
* the port congested from both send and recv paths. * port congested from both send and recv paths.
* (See comment around declaration of rdc_cong_lock). * (See comment around declaration of rdc_cong_lock).
* An attempt to get the sock_lock() here will * An attempt to get the sock_lock() here will
* therefore trigger warnings. * therefore trigger warnings.
......
...@@ -711,7 +711,7 @@ static u32 rds_ib_protocol_compatible(struct rdma_cm_event *event, bool isv6) ...@@ -711,7 +711,7 @@ static u32 rds_ib_protocol_compatible(struct rdma_cm_event *event, bool isv6)
* original size. The only way to tell the difference is by looking at * original size. The only way to tell the difference is by looking at
* the contents, which are initialized to zero. * the contents, which are initialized to zero.
* If the protocol version fields aren't set, this is a connection attempt * If the protocol version fields aren't set, this is a connection attempt
* from an older version. This could could be 3.0 or 2.0 - we can't tell. * from an older version. This could be 3.0 or 2.0 - we can't tell.
* We really should have changed this for OFED 1.3 :-( * We really should have changed this for OFED 1.3 :-(
*/ */
......
...@@ -581,7 +581,7 @@ bool tipc_msg_try_bundle(struct sk_buff *tskb, struct sk_buff **skb, u32 mss, ...@@ -581,7 +581,7 @@ bool tipc_msg_try_bundle(struct sk_buff *tskb, struct sk_buff **skb, u32 mss,
* @pos: position in outer message of msg to be extracted. * @pos: position in outer message of msg to be extracted.
* Returns position of next msg * Returns position of next msg
* Consumes outer buffer when last packet extracted * Consumes outer buffer when last packet extracted
* Returns true when when there is an extracted buffer, otherwise false * Returns true when there is an extracted buffer, otherwise false
*/ */
bool tipc_msg_extract(struct sk_buff *skb, struct sk_buff **iskb, int *pos) bool tipc_msg_extract(struct sk_buff *skb, struct sk_buff **iskb, int *pos)
{ {
......
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
#define CONN_PROBING_INTV msecs_to_jiffies(3600000) /* [ms] => 1 h */ #define CONN_PROBING_INTV msecs_to_jiffies(3600000) /* [ms] => 1 h */
#define TIPC_MAX_PORT 0xffffffff #define TIPC_MAX_PORT 0xffffffff
#define TIPC_MIN_PORT 1 #define TIPC_MIN_PORT 1
#define TIPC_ACK_RATE 4 /* ACK at 1/4 of of rcv window size */ #define TIPC_ACK_RATE 4 /* ACK at 1/4 of rcv window size */
enum { enum {
TIPC_LISTEN = TCP_LISTEN, TIPC_LISTEN = TCP_LISTEN,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment