]> git.baikalelectronics.ru Git - kernel.git/commit
coresight: cti: remove incorrect NULL return check
authorCalvin Johnson <calvin.johnson@oss.nxp.com>
Thu, 7 May 2020 05:35:47 +0000 (11:05 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 15 May 2020 14:32:20 +0000 (16:32 +0200)
commit96ada13c4be48c15b1a4f41f44d69afc0063e75e
treea9daf85cc43257bf3cb96132d6ebdd7e2c3db197
parente06264aa5db8fe2ef994549bef8b0fb6956be493
coresight: cti: remove incorrect NULL return check

fwnode_find_reference() doesn't return NULL and hence that check
should be avoided.

Signed-off-by: Calvin Johnson <calvin.johnson@oss.nxp.com>
Reviewed-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Link: https://lore.kernel.org/r/20200507053547.13707-1-calvin.johnson@oss.nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hwtracing/coresight/coresight-cti-platform.c