diff options
author | Pekka Enberg <penberg@cs.helsinki.fi> | 2008-10-17 20:57:08 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-10-22 09:56:35 -0700 |
commit | 1781ad2f6338d1c0636a47faf34958da7861be1c (patch) | |
tree | d2ea9cbcbf1715e96d6b65c248f29da996afb74a /drivers/staging/echo/fir.h | |
parent | Staging: echo: remove __cplusplus macro magic (diff) | |
download | linux-dev-1781ad2f6338d1c0636a47faf34958da7861be1c.tar.xz linux-dev-1781ad2f6338d1c0636a47faf34958da7861be1c.zip |
Staging: echo: remove annoying "end of function" markers
This patch removes the very noisy "end of function" markers that are
very annoying when reading the driver code.
Cc: David Rowe <david@rowetel.com>
Cc: Steve Underwood <steveu@coppice.org>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/echo/fir.h')
-rw-r--r-- | drivers/staging/echo/fir.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/staging/echo/fir.h b/drivers/staging/echo/fir.h index d1df33cf2aa5..e760471e4818 100644 --- a/drivers/staging/echo/fir.h +++ b/drivers/staging/echo/fir.h @@ -119,7 +119,6 @@ static __inline__ const int16_t *fir16_create(fir16_state_t *fir, #endif return fir->history; } -/*- End of function --------------------------------------------------------*/ static __inline__ void fir16_flush(fir16_state_t *fir) { @@ -129,13 +128,11 @@ static __inline__ void fir16_flush(fir16_state_t *fir) memset(fir->history, 0, fir->taps*sizeof(int16_t)); #endif } -/*- End of function --------------------------------------------------------*/ static __inline__ void fir16_free(fir16_state_t *fir) { kfree(fir->history); } -/*- End of function --------------------------------------------------------*/ #ifdef __bfin__ static inline int32_t dot_asm(short *x, short *y, int len) @@ -165,7 +162,6 @@ static inline int32_t dot_asm(short *x, short *y, int len) return dot; } #endif -/*- End of function --------------------------------------------------------*/ static __inline__ int16_t fir16(fir16_state_t *fir, int16_t sample) { @@ -260,7 +256,6 @@ static __inline__ int16_t fir16(fir16_state_t *fir, int16_t sample) fir->curr_pos--; return (int16_t) (y >> 15); } -/*- End of function --------------------------------------------------------*/ static __inline__ const int16_t *fir32_create(fir32_state_t *fir, const int32_t *coeffs, @@ -272,19 +267,16 @@ static __inline__ const int16_t *fir32_create(fir32_state_t *fir, fir->history = kcalloc(taps, sizeof(int16_t), GFP_KERNEL); return fir->history; } -/*- End of function --------------------------------------------------------*/ static __inline__ void fir32_flush(fir32_state_t *fir) { memset(fir->history, 0, fir->taps*sizeof(int16_t)); } -/*- End of function --------------------------------------------------------*/ static __inline__ void fir32_free(fir32_state_t *fir) { kfree(fir->history); } -/*- End of function --------------------------------------------------------*/ static __inline__ int16_t fir32(fir32_state_t *fir, int16_t sample) { @@ -306,7 +298,6 @@ static __inline__ int16_t fir32(fir32_state_t *fir, int16_t sample) fir->curr_pos--; return (int16_t) (y >> 15); } -/*- End of function --------------------------------------------------------*/ #endif /*- End of file ------------------------------------------------------------*/ |