mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 12:43:29 +02:00
ocxl: Remove unnecessary externs
Function declarations don't need externs, remove the existing ones so they are consistent with newer code Signed-off-by: Alastair D'Silva <alastair@d-silva.org> Acked-by: Andrew Donnellan <ajd@linux.ibm.com> Acked-by: Frederic Barrat <fbarrat@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20200415012343.919255-2-alastair@d-silva.org
This commit is contained in:
committed by
Michael Ellerman
parent
f3054ffd71
commit
c75d42e4c7
@@ -173,7 +173,7 @@ int ocxl_context_detach(struct ocxl_context *ctx);
|
||||
*
|
||||
* Returns 0 on success, negative on failure
|
||||
*/
|
||||
extern int ocxl_afu_irq_alloc(struct ocxl_context *ctx, int *irq_id);
|
||||
int ocxl_afu_irq_alloc(struct ocxl_context *ctx, int *irq_id);
|
||||
|
||||
/**
|
||||
* Frees an IRQ associated with an AFU context
|
||||
@@ -182,7 +182,7 @@ extern int ocxl_afu_irq_alloc(struct ocxl_context *ctx, int *irq_id);
|
||||
*
|
||||
* Returns 0 on success, negative on failure
|
||||
*/
|
||||
extern int ocxl_afu_irq_free(struct ocxl_context *ctx, int irq_id);
|
||||
int ocxl_afu_irq_free(struct ocxl_context *ctx, int irq_id);
|
||||
|
||||
/**
|
||||
* Gets the address of the trigger page for an IRQ
|
||||
@@ -193,7 +193,7 @@ extern int ocxl_afu_irq_free(struct ocxl_context *ctx, int irq_id);
|
||||
*
|
||||
* returns the trigger page address, or 0 if the IRQ is not valid
|
||||
*/
|
||||
extern u64 ocxl_afu_irq_get_addr(struct ocxl_context *ctx, int irq_id);
|
||||
u64 ocxl_afu_irq_get_addr(struct ocxl_context *ctx, int irq_id);
|
||||
|
||||
/**
|
||||
* Provide a callback to be called when an IRQ is triggered
|
||||
|
Reference in New Issue
Block a user