zhong jiang b8199f6a79 misc: cxl: Fix possible null pointer dereference
[ Upstream commit 3dac3583bf1a61db6aaf31dfd752c677a4400afd ]

It is not safe to dereference an object before a null test. It is
not needed and just remove them. Ftrace can be used instead.

Signed-off-by: zhong jiang <zhongjiang@huawei.com>
Acked-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Acked-by: Frederic Barrat <fbarrat@linux.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-11-25 09:53:52 +01:00
..
2017-10-05 09:44:04 +02:00
2017-10-05 09:44:04 +02:00
2018-04-13 19:48:22 +02:00
2016-07-08 22:22:03 +10:00
2016-07-19 20:12:29 +10:00