Re: [PATCH 3/6] Werror: Remove iiEllisCleanup() as it's unused.

From: Adrian Bunk
Date: Thu May 29 2008 - 14:32:07 EST


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@xxxxxxxxxx>
> ---
>
> 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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/