Re: [PATCH v3 08/27] x86, irq: kill create_irq()

2013-06-09 Thread Sebastian Andrzej Siewior
On Fri, Jun 07, 2013 at 03:30:54PM -0700, Yinghai Lu wrote: > create_irq() will return -1 when failing to allocate. > create_irq_nr() will return 0 when failing to allocate. > > It only causes confusion. > > Now we have no user for create_irq(), so remove create_irq() for x86. Oh thank you so mu

[PATCH v3 08/27] x86, irq: kill create_irq()

2013-06-07 Thread Yinghai Lu
create_irq() will return -1 when failing to allocate. create_irq_nr() will return 0 when failing to allocate. It only causes confusion. Now we have no user for create_irq(), so remove create_irq() for x86. Signed-off-by: Yinghai Lu Cc: Joerg Roedel Cc: Konrad Rzeszutek Wilk Cc: Sebastian Andr