forked from Minki/linux
habanalabs: change function to static
handle_registration_node() is called directly from the irq handler in irq.c, so it can be static. Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
This commit is contained in:
parent
9e70ac1aa7
commit
4a0b01fa63
@ -175,7 +175,7 @@ static void hl_ts_free_objects(struct work_struct *work)
|
|||||||
* so here we'll be filling a list with nodes of "put" jobs and then will send this
|
* so here we'll be filling a list with nodes of "put" jobs and then will send this
|
||||||
* list to a dedicated workqueue to do the actual put.
|
* list to a dedicated workqueue to do the actual put.
|
||||||
*/
|
*/
|
||||||
int handle_registration_node(struct hl_device *hdev, struct hl_user_pending_interrupt *pend,
|
static int handle_registration_node(struct hl_device *hdev, struct hl_user_pending_interrupt *pend,
|
||||||
struct list_head **free_list)
|
struct list_head **free_list)
|
||||||
{
|
{
|
||||||
struct timestamp_reg_free_node *free_node;
|
struct timestamp_reg_free_node *free_node;
|
||||||
|
Loading…
Reference in New Issue
Block a user