Re: [PATCH 2/2] BRIDGE checkpatch cleanup

Russell King - ARM Linux
2008-08-30T08:05:50Z

On Fri, Aug 29, 2008 at 10:09:29PM -0500, Ramirez Luna, Omar wrote:
> From: Omar Ramirez Luna <x00omar@ti.com>
> Date: Fri, 29 Aug 2008 21:20:39 -0500
> Subject: [PATCH] Bridge Checkpatch Cleanup
>
> Deleted unused function typedefs and structures associated with them

This says delete.

> diff --git a/arch/arm/plat-omap/include/mach/bridge/_chnl_sm.h b/arch/arm/plat-omap/include/mach/bridge/_chnl_sm.h
> index f6a6c69..4bc2633 100644
> --- a/arch/arm/plat-omap/include/mach/bridge/_chnl_sm.h
> +++ b/arch/arm/plat-omap/include/mach/bridge/_chnl_sm.h
> @@ -110,6 +110,8 @@ struct loadMonStruct {
>
> #endif
>
> + typedef u32 SMWORD;
> +

This looks like adding to me.

> + typedef bool(CDECL *COD_ALLOCFXN) (void *pPrivRef, u32 space,
> + u32 ulNumBytes, u32 ulAlign,
> + u32 *ulDspAddr, bool fReserved);
> +
> + typedef bool(CDECL *COD_FREEFXN) (void *pPrivReg, u32 ulDspAddr,
> + u32 space, u32 ulNumBytes,
> + bool fReserved);

More typedef adding.

> +#ifndef _SIZE_T /* Linux sets _SIZE_T on defining size_t */
> +typedef unsigned int size_t;
> +#define _SIZE_T
> +#endif

More adding...