Commit d480e578 authored by James Smart's avatar James Smart Committed by Martin K. Petersen

scsi: lpfc: fix inlining of lpfc_sli4_cleanup_poll_list()

Compilation can fail due to having an inline function reference where the
function body is not present.

Fix by removing the inline tag.

Fixes: 93a4d6f4 ("scsi: lpfc: Add registration for CPU Offline/Online events")

Link: https://lore.kernel.org/r/20191111230401.12958-4-jsmart2021@gmail.comReviewed-by: default avatarEwan D. Milne <emilne@redhat.com>
Signed-off-by: default avatarDick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: default avatarJames Smart <jsmart2021@gmail.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 6c6d59e0
...@@ -215,7 +215,7 @@ irqreturn_t lpfc_sli_fp_intr_handler(int, void *); ...@@ -215,7 +215,7 @@ irqreturn_t lpfc_sli_fp_intr_handler(int, void *);
irqreturn_t lpfc_sli4_intr_handler(int, void *); irqreturn_t lpfc_sli4_intr_handler(int, void *);
irqreturn_t lpfc_sli4_hba_intr_handler(int, void *); irqreturn_t lpfc_sli4_hba_intr_handler(int, void *);
inline void lpfc_sli4_cleanup_poll_list(struct lpfc_hba *phba); void lpfc_sli4_cleanup_poll_list(struct lpfc_hba *phba);
int lpfc_sli4_poll_eq(struct lpfc_queue *q, uint8_t path); int lpfc_sli4_poll_eq(struct lpfc_queue *q, uint8_t path);
void lpfc_sli4_poll_hbtimer(struct timer_list *t); void lpfc_sli4_poll_hbtimer(struct timer_list *t);
void lpfc_sli4_start_polling(struct lpfc_queue *q); void lpfc_sli4_start_polling(struct lpfc_queue *q);
......
...@@ -14466,7 +14466,7 @@ static inline void lpfc_sli4_remove_from_poll_list(struct lpfc_queue *eq) ...@@ -14466,7 +14466,7 @@ static inline void lpfc_sli4_remove_from_poll_list(struct lpfc_queue *eq)
del_timer_sync(&phba->cpuhp_poll_timer); del_timer_sync(&phba->cpuhp_poll_timer);
} }
inline void lpfc_sli4_cleanup_poll_list(struct lpfc_hba *phba) void lpfc_sli4_cleanup_poll_list(struct lpfc_hba *phba)
{ {
struct lpfc_queue *eq, *next; struct lpfc_queue *eq, *next;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment