Messages in this thread | | | Date | Thu, 29 May 2008 21:28:53 +0300 | From | Adrian Bunk <> | Subject | Re: [PATCH 3/6] Werror: Remove iiEllisCleanup() as it's unused. |
| |
On Thu, May 29, 2008 at 07:17:36PM +0100, David Howells wrote: > Remove iiEllisCleanup() as it's unused.
It is used with CONFIG_COMPUTONE=m - this empty function is kinda pointless but you also have to remove the caller from ip2main.c if you want to remove it.
> Signed-off-by: David Howells <dhowells@redhat.com> > --- > > drivers/char/ip2/i2ellis.c | 16 ---------------- > 1 files changed, 0 insertions(+), 16 deletions(-) > > > diff --git a/drivers/char/ip2/i2ellis.c b/drivers/char/ip2/i2ellis.c > index 3601017..a7c89d8 100644 > --- a/drivers/char/ip2/i2ellis.c > +++ b/drivers/char/ip2/i2ellis.c > @@ -85,22 +85,6 @@ iiEllisInit(void) > } > > //****************************************************************************** > -// Function: iiEllisCleanup() > -// Parameters: None > -// > -// Returns: Nothing > -// > -// Description: > -// > -// This routine performs any required cleanup of the iiEllis subsystem. > -// > -//****************************************************************************** > -static void > -iiEllisCleanup(void) > -{ > -} > - > -//****************************************************************************** > // Function: iiSetAddress(pB, address, delay) > // Parameters: pB - pointer to the board structure > // address - the purported I/O address of the board
cu Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed
| |