staging: most: remove unused functions
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Tue, 18 Aug 2015 15:18:24 +0000 (20:48 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 13 Sep 2015 01:24:31 +0000 (18:24 -0700)
These functions were only defined but not used anywhere.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/hdm-dim2/dim2_hal.c
drivers/staging/most/hdm-dim2/dim2_hal.h
drivers/staging/most/hdm-dim2/dim2_hdm.c

index a54cf2cedac3c4a0608466415f7b14ee3ef2eef7..e334206e2eb047b94bfbad40fe72be0551ce3a0c 100644 (file)
@@ -912,8 +912,3 @@ bool DIM_DetachBuffers(struct dim_channel *ch, u16 buffers_number)
 
        return channel_detach_buffers(ch, buffers_number);
 }
-
-u32 DIM_ReadRegister(u8 register_index)
-{
-       return DIMCB_IoRead((u32 *)g.dim2 + register_index);
-}
index 8929af9712ef6808236b7d176e5ed28218a48946..ebb7d87a45fcfaede6a6222b81fa871f7cae67de 100644 (file)
@@ -105,17 +105,12 @@ bool DIM_EnqueueBuffer(struct dim_channel *ch, u32 buffer_addr,
 
 bool DIM_DetachBuffers(struct dim_channel *ch, u16 buffers_number);
 
-u32 DIM_ReadRegister(u8 register_index);
-
-
 u32 DIMCB_IoRead(u32 *ptr32);
 
 void DIMCB_IoWrite(u32 *ptr32, u32 value);
 
 void DIMCB_OnError(u8 error_id, const char *error_message);
 
-void DIMCB_OnFail(const char *filename, int linenum);
-
 
 #ifdef __cplusplus
 }
index 6a5a3a2775f3d0961ed27d92671ff80759d892cd..1ba694b968f30f039cdc89ea189606b21f11d2b2 100644 (file)
@@ -165,16 +165,6 @@ void DIMCB_OnError(u8 error_id, const char *error_message)
               error_message);
 }
 
-/**
- * DIMCB_OnFail - callback from HAL to report unrecoverable errors
- * @filename: Source file where the error happened
- * @linenum: Line number of the file where the error happened
- */
-void DIMCB_OnFail(const char *filename, int linenum)
-{
-       pr_err("DIMCB_OnFail: file - %s, line no. - %d\n", filename, linenum);
-}
-
 /**
  * startup_dim - initialize the dim2 interface
  * @pdev: platform device
This page took 0.031383 seconds and 5 git commands to generate.