]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/mpic: Assume a device-node was passed in mpic_alloc()
authorKyle Moffett <Kyle.D.Moffett@boeing.com>
Fri, 2 Dec 2011 06:28:00 +0000 (06:28 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 7 Dec 2011 02:43:07 +0000 (13:43 +1100)
commitab10c8c9600421a8d9b202aa8b056b133cdbacb4
tree8693062d39175af76592a356888591afbc655fb9
parent53051fe72c2bdc8a29a2f39f4d07859a62b6e553
powerpc/mpic: Assume a device-node was passed in mpic_alloc()

All of the existing callers of mpic_alloc() pass in a non-NULL
device-node pointer, so the checks for a NULL device-node may be
removed.

Signed-off-by: Kyle Moffett <Kyle.D.Moffett@boeing.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/sysdev/mpic.c