Re: [PATCH] Remove empty function from arch/arm/mach-pxa/trizeps4.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Mar 31, 2008 at 06:03:19PM +0400, Andrey Valyaev wrote:
> Remove empty function from arch/arm/mach-pxa/trizeps4.c
> It's valid Janitor patch?

Does anyone call pxaohci_platform_data->exit unconditionally assuming it 
is always present?

>  trizeps4.c |    6 ------
>  1 file changed, 6 deletions(-)
> 
> ================
> diff --git a/arch/arm/mach-pxa/trizeps4.c b/arch/arm/mach-pxa/trizeps4.c
> index f207fcd..5df658f 100644
> --- a/arch/arm/mach-pxa/trizeps4.c
> +++ b/arch/arm/mach-pxa/trizeps4.c
> @@ -333,15 +333,9 @@ static int trizeps4_ohci_init(struct device *dev)
>         return 0;
>  }
> 
> -static void trizeps4_ohci_exit(struct device *dev)
> -{
> -       ;
> -}
> -
>  static struct pxaohci_platform_data trizeps4_ohci_platform_data = {
>         .port_mode      = PMM_PERPORT_MODE,
>         .init           = trizeps4_ohci_init,
> -       .exit           = trizeps4_ohci_exit,
>  };
> 
>  static struct map_desc trizeps4_io_desc[] __initdata = {
> ================
> 
> -- 
> 
> 	Andrey Valyaev <dron@xxxxxxxxxx>

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 kernel-janitors" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux