Commit a9b4d07c authored by Federico Vaga's avatar Federico Vaga

kernel: free does not return errors

If there are no reasons for a *_free() function to return an error, change
the return type to void
Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent 38708c2a
...@@ -196,7 +196,8 @@ static inline int vic_handler_count(struct vic_irq_controller *vic) ...@@ -196,7 +196,8 @@ static inline int vic_handler_count(struct vic_irq_controller *vic)
return count; return count;
} }
int svec_vic_irq_free(struct svec_dev *svec, unsigned long id)
void svec_vic_irq_free(struct svec_dev *svec, unsigned long id)
{ {
int i; int i;
...@@ -218,8 +219,6 @@ int svec_vic_irq_free(struct svec_dev *svec, unsigned long id) ...@@ -218,8 +219,6 @@ int svec_vic_irq_free(struct svec_dev *svec, unsigned long id)
svec_vic_exit(svec->vic); svec_vic_exit(svec->vic);
svec->vic = NULL; svec->vic = NULL;
} }
return 0;
} }
void svec_vic_irq_ack(struct svec_dev *svec, unsigned long id) void svec_vic_irq_ack(struct svec_dev *svec, unsigned long id)
......
...@@ -147,7 +147,7 @@ int svec_load_golden(struct svec_dev *svec); ...@@ -147,7 +147,7 @@ int svec_load_golden(struct svec_dev *svec);
/* VIC interrupt controller stuff */ /* VIC interrupt controller stuff */
irqreturn_t svec_vic_irq_dispatch(struct svec_dev *svec); irqreturn_t svec_vic_irq_dispatch(struct svec_dev *svec);
int svec_vic_irq_request(struct svec_dev *svec, struct fmc_device *fmc, unsigned long id, irq_handler_t handler); int svec_vic_irq_request(struct svec_dev *svec, struct fmc_device *fmc, unsigned long id, irq_handler_t handler);
int svec_vic_irq_free(struct svec_dev *svec, unsigned long id); void svec_vic_irq_free(struct svec_dev *svec, unsigned long id);
void svec_vic_irq_ack(struct svec_dev *svec, unsigned long id); void svec_vic_irq_ack(struct svec_dev *svec, unsigned long id);
/* Generic IRQ routines */ /* Generic IRQ routines */
......
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