mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 01/3] NET: remove redundant argument comments
@ 2008-11-21 19:20 Qinghuang Feng
  2008-11-22  1:15 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Qinghuang Feng @ 2008-11-21 19:20 UTC (permalink / raw)
  To: David Miller; +Cc: linux-net, linux-kernel

Remove redundant argument comments in files of net/*

Signed-off-by: Qinghuang Feng <qhfeng.kernel@gmail.com>
---
diff --git a/net/9p/trans_rdma.c b/net/9p/trans_rdma.c
index 2f1fe5f..7fa0eb2 100644
--- a/net/9p/trans_rdma.c
+++ b/net/9p/trans_rdma.c
@@ -528,8 +528,6 @@ static void rdma_close(struct p9_client *client)
 
 /**
  * alloc_rdma - Allocate and initialize the rdma transport structure
- * @msize: MTU
- * @dotu: Extension attribute
  * @opts: Mount options structure
  */
 static struct p9_trans_rdma *alloc_rdma(struct p9_rdma_opts *opts)
diff --git a/net/decnet/dn_nsp_out.c b/net/decnet/dn_nsp_out.c
index 1964faf..81a40ff 100644
--- a/net/decnet/dn_nsp_out.c
+++ b/net/decnet/dn_nsp_out.c
@@ -230,7 +230,6 @@ static inline unsigned dn_nsp_clone_and_send(struct sk_buff *skb,
 /**
  * dn_nsp_output - Try and send something from socket queues
  * @sk: The socket whose queues are to be investigated
- * @gfp: The memory allocation flags
  *
  * Try and send the packet on the end of the data and other data queues.
  * Other data gets priority over data, and if we retransmit a packet we
diff --git a/net/ipv6/ip6_tunnel.c b/net/ipv6/ip6_tunnel.c
index 64ce3d3..537ea34 100644
--- a/net/ipv6/ip6_tunnel.c
+++ b/net/ipv6/ip6_tunnel.c
@@ -1150,7 +1150,6 @@ static void ip6_tnl_link_config(struct ip6_tnl *t)
  * ip6_tnl_change - update the tunnel parameters
  *   @t: tunnel to be changed
  *   @p: tunnel configuration parameters
- *   @active: != 0 if tunnel is ready for use
  *
  * Description:
  *   ip6_tnl_change() updates the tunnel parameters
diff --git a/net/llc/af_llc.c b/net/llc/af_llc.c
index 5bcc452..56fd85a 100644
--- a/net/llc/af_llc.c
+++ b/net/llc/af_llc.c
@@ -103,7 +103,6 @@ static inline u8 llc_ui_header_len(struct sock *sk, struct sockaddr_llc *addr)
  *	llc_ui_send_data - send data via reliable llc2 connection
  *	@sk: Connection the socket is using.
  *	@skb: Data the user wishes to send.
- *	@addr: Source and destination fields provided by the user.
  *	@noblock: can we block waiting for data?
  *
  *	Send data via reliable llc2 connection.
diff --git a/net/mac80211/mesh_hwmp.c b/net/mac80211/mesh_hwmp.c
index 501c783..bef73e9 100644
--- a/net/mac80211/mesh_hwmp.c
+++ b/net/mac80211/mesh_hwmp.c
@@ -759,7 +759,6 @@ enddiscovery:
  *
  * @skb: 802.11 frame to be sent
  * @sdata: network subif the frame will be sent through
- * @fwd_frame: true if this frame was originally from a different host
  *
  * Returns: 0 if the next hop was found. Nonzero otherwise. If no next hop is
  * found, the function will start a path discovery and queue the frame so it is
diff --git a/net/netlabel/netlabel_mgmt.c b/net/netlabel/netlabel_mgmt.c
index 0a0ef17..1821c5d 100644
--- a/net/netlabel/netlabel_mgmt.c
+++ b/net/netlabel/netlabel_mgmt.c
@@ -596,7 +596,6 @@ listdef_failure:
 /**
  * netlbl_mgmt_protocols_cb - Write an individual PROTOCOL message response
  * @skb: the skb to write to
- * @seq: the NETLINK sequence number
  * @cb: the NETLINK callback
  * @protocol: the NetLabel protocol to use in the message
  *


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH 01/3] NET: remove redundant argument comments
  2008-11-21 19:20 [PATCH 01/3] NET: remove redundant argument comments Qinghuang Feng
@ 2008-11-22  1:15 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2008-11-22  1:15 UTC (permalink / raw)
  To: qhfeng.kernel; +Cc: linux-net, linux-kernel, netdev

From: Qinghuang Feng <qhfeng.kernel@gmail.com>
Date: Sat, 22 Nov 2008 03:20:57 +0800

> Remove redundant argument comments in files of net/*
> 
> Signed-off-by: Qinghuang Feng <qhfeng.kernel@gmail.com>

Applied, please submit networking patches to netdev@vger.kernel.org
in the future.

> diff --git a/net/9p/trans_rdma.c b/net/9p/trans_rdma.c
> index 2f1fe5f..7fa0eb2 100644
> --- a/net/9p/trans_rdma.c
> +++ b/net/9p/trans_rdma.c
> @@ -528,8 +528,6 @@ static void rdma_close(struct p9_client *client)
>  
>  /**
>   * alloc_rdma - Allocate and initialize the rdma transport structure
> - * @msize: MTU
> - * @dotu: Extension attribute
>   * @opts: Mount options structure
>   */
>  static struct p9_trans_rdma *alloc_rdma(struct p9_rdma_opts *opts)
> diff --git a/net/decnet/dn_nsp_out.c b/net/decnet/dn_nsp_out.c
> index 1964faf..81a40ff 100644
> --- a/net/decnet/dn_nsp_out.c
> +++ b/net/decnet/dn_nsp_out.c
> @@ -230,7 +230,6 @@ static inline unsigned dn_nsp_clone_and_send(struct sk_buff *skb,
>  /**
>   * dn_nsp_output - Try and send something from socket queues
>   * @sk: The socket whose queues are to be investigated
> - * @gfp: The memory allocation flags
>   *
>   * Try and send the packet on the end of the data and other data queues.
>   * Other data gets priority over data, and if we retransmit a packet we
> diff --git a/net/ipv6/ip6_tunnel.c b/net/ipv6/ip6_tunnel.c
> index 64ce3d3..537ea34 100644
> --- a/net/ipv6/ip6_tunnel.c
> +++ b/net/ipv6/ip6_tunnel.c
> @@ -1150,7 +1150,6 @@ static void ip6_tnl_link_config(struct ip6_tnl *t)
>   * ip6_tnl_change - update the tunnel parameters
>   *   @t: tunnel to be changed
>   *   @p: tunnel configuration parameters
> - *   @active: != 0 if tunnel is ready for use
>   *
>   * Description:
>   *   ip6_tnl_change() updates the tunnel parameters
> diff --git a/net/llc/af_llc.c b/net/llc/af_llc.c
> index 5bcc452..56fd85a 100644
> --- a/net/llc/af_llc.c
> +++ b/net/llc/af_llc.c
> @@ -103,7 +103,6 @@ static inline u8 llc_ui_header_len(struct sock *sk, struct sockaddr_llc *addr)
>   *	llc_ui_send_data - send data via reliable llc2 connection
>   *	@sk: Connection the socket is using.
>   *	@skb: Data the user wishes to send.
> - *	@addr: Source and destination fields provided by the user.
>   *	@noblock: can we block waiting for data?
>   *
>   *	Send data via reliable llc2 connection.
> diff --git a/net/mac80211/mesh_hwmp.c b/net/mac80211/mesh_hwmp.c
> index 501c783..bef73e9 100644
> --- a/net/mac80211/mesh_hwmp.c
> +++ b/net/mac80211/mesh_hwmp.c
> @@ -759,7 +759,6 @@ enddiscovery:
>   *
>   * @skb: 802.11 frame to be sent
>   * @sdata: network subif the frame will be sent through
> - * @fwd_frame: true if this frame was originally from a different host
>   *
>   * Returns: 0 if the next hop was found. Nonzero otherwise. If no next hop is
>   * found, the function will start a path discovery and queue the frame so it is
> diff --git a/net/netlabel/netlabel_mgmt.c b/net/netlabel/netlabel_mgmt.c
> index 0a0ef17..1821c5d 100644
> --- a/net/netlabel/netlabel_mgmt.c
> +++ b/net/netlabel/netlabel_mgmt.c
> @@ -596,7 +596,6 @@ listdef_failure:
>  /**
>   * netlbl_mgmt_protocols_cb - Write an individual PROTOCOL message response
>   * @skb: the skb to write to
> - * @seq: the NETLINK sequence number
>   * @cb: the NETLINK callback
>   * @protocol: the NetLabel protocol to use in the message
>   *
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-11-22  1:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-21 19:20 [PATCH 01/3] NET: remove redundant argument comments Qinghuang Feng
2008-11-22  1:15 ` David Miller

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®