Skip to contentSkip to conversation

net: delete excess kernel-doc notation

PATCH Applied Randy Dunlap 2 participants 2 messages Oct 30, 2008 – Oct 31, 2008

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 3/7 net: delete excess kernel-doc notation

From: Randy Dunlap <[email protected]>

Remove excess kernel-doc function parameters from networking header & driver files:

Warning(include/net/sock.h:946): Excess function parameter or struct member 'sk' description in 'sk_filter_release' Warning(include/linux/netdevice.h:1545): Excess function parameter or struct member 'cpu' description in 'netif_tx_lock' Warning(drivers/net/wan/z85230.c:712): Excess function parameter or struct member 'regs' description in 'z8530_interrupt'

---
 drivers/net/wan/z85230.c  |    1 -
 include/linux/netdevice.h |    1 -
 include/net/sock.h        |    1 -
 3 files changed, 3 deletions(-)
include/linux/netdevice.h +0 -1
@@ -1537,7 +1537,6 @@ static inline void __netif_tx_unlock_bh(
 /**
  *	netif_tx_lock - grab network device transmit lock
  *	@dev: network device
- *	@cpu: cpu number of lock owner
  *
  * Get network device transmit lock
  */
include/net/sock.h +0 -1
@@ -936,7 +936,6 @@ extern void sock_init_data(struct socket
 
 /**
  *	sk_filter_release: Release a socket filter
- *	@sk: socket
  *	@fp: filter to remove
  *
  *	Remove a filter from a socket and release its resources.
drivers/net/wan/z85230.c +0 -1
@@ -695,7 +695,6 @@ EXPORT_SYMBOL(z8530_nop);
  *	z8530_interrupt - Handle an interrupt from a Z8530
  *	@irq: 	Interrupt number
  *	@dev_id: The Z8530 device that is interrupting.
- *	@regs: unused
  *
  *	A Z85[2]30 device has stuck its hand in the air for attention.
  *	We scan both the channels on the chip for events and then call
maintainer Applied
#1 lore raw

From: Randy Dunlap <[email protected]>
Date: Wed, 29 Oct 2008 22:34:58 -0700

Quoted 10 lines

From: Randy Dunlap <[email protected]>

Remove excess kernel-doc function parameters from networking header & driver files:

Warning(include/net/sock.h:946): Excess function parameter or struct member 'sk' description in 'sk_filter_release' Warning(include/linux/netdevice.h:1545): Excess function parameter or struct member 'cpu' description in 'netif_tx_lock' Warning(drivers/net/wan/z85230.c:712): Excess function parameter or struct member 'regs' description in 'z8530_interrupt'

Applied, thanks Randy.