genirq/affinity: Move allocation of 'node_to_cpumask' to irq_build_affinity_masks()
authorMing Lei <ming.lei@redhat.com>
Fri, 25 Jan 2019 09:53:43 +0000 (17:53 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Sun, 10 Feb 2019 18:53:55 +0000 (19:53 +0100)
commit347253c42d7c673aa2a659d756bc7ff893459247
treed35cf74694af51929f509bc1b8c5c7d16314c488
parent434537bbd50fefc89c1e29170bf4030ae3ec445a
genirq/affinity: Move allocation of 'node_to_cpumask' to irq_build_affinity_masks()

'node_to_cpumask' is just one temparay variable for irq_build_affinity_masks(),
so move it into irq_build_affinity_masks().

No functioanl change.

Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: linux-block@vger.kernel.org
Cc: Sagi Grimberg <sagi@grimberg.me>
Cc: linux-nvme@lists.infradead.org
Cc: linux-pci@vger.kernel.org
Link: https://lkml.kernel.org/r/20190125095347.17950-2-ming.lei@redhat.com
kernel/irq/affinity.c