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)
commit0bedaa2d6a05b8a736339368b7f33aeeef128cfa
treea9daf85cc43257bf3cb96132d6ebdd7e2c3db197
parentfc9c03ce30f79b71807961bfcb42be191af79873
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