staging: unisys: unneeded NULL check
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Fri, 7 Nov 2014 12:18:34 +0000 (17:48 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Nov 2014 17:22:46 +0000 (09:22 -0800)
commitf9b64692e13b2f0d2a393e41972aa317f34a3e46
tree2200326530e9e82f64eb54af3bde5d577e802c35
parentf36b9dfed7da05e327ca22b44468a29623922c4e
staging: unisys: unneeded NULL check

the NULL check for memregion is not required as it has already been
checked for NULL after kzalloc. so we can reach this part of the code
only if memregion is not NULL.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorutil/memregion_direct.c