staging: most: remove unused functions
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>
This commit is contained in:
parent
c704dfbe45
commit
11f7edb598
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue