From: Joe Perches Date: Mon, 10 Aug 2015 21:51:22 +0000 (-0700) Subject: staging: most: Remove unnecessary externs X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ddb98ce16158cb979f025eb73eaa44dce4cb1b36;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git staging: most: Remove unnecessary externs Using 'extern' is not necessary for function prototypes. Signed-off-by: Joe Perches Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/most/hdm-dim2/dim2_hal.h b/drivers/staging/most/hdm-dim2/dim2_hal.h index d88b5a0e3244..8929af9712ef 100644 --- a/drivers/staging/most/hdm-dim2/dim2_hal.h +++ b/drivers/staging/most/hdm-dim2/dim2_hal.h @@ -108,13 +108,13 @@ bool DIM_DetachBuffers(struct dim_channel *ch, u16 buffers_number); u32 DIM_ReadRegister(u8 register_index); -extern u32 DIMCB_IoRead(u32 *ptr32); +u32 DIMCB_IoRead(u32 *ptr32); -extern void DIMCB_IoWrite(u32 *ptr32, u32 value); +void DIMCB_IoWrite(u32 *ptr32, u32 value); -extern void DIMCB_OnError(u8 error_id, const char *error_message); +void DIMCB_OnError(u8 error_id, const char *error_message); -extern void DIMCB_OnFail(const char *filename, int linenum); +void DIMCB_OnFail(const char *filename, int linenum); #ifdef __cplusplus