treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / powerpc / kernel / trace / trace_clock.c
blobb0143a313736eca8feb5638d7ec899bde845e113
1 // SPDX-License-Identifier: GPL-2.0-only
2 /*
4 * Copyright (C) 2015 Naveen N. Rao, IBM Corporation
5 */
7 #include <asm/trace_clock.h>
8 #include <asm/time.h>
10 u64 notrace trace_clock_ppc_tb(void)
12 return get_tb();