summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/bus.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/common/bus.c')
-rw-r--r--drivers/gpu/nvgpu/common/bus.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/gpu/nvgpu/common/bus.c b/drivers/gpu/nvgpu/common/bus.c
index c88262a0..a84348cd 100644
--- a/drivers/gpu/nvgpu/common/bus.c
+++ b/drivers/gpu/nvgpu/common/bus.c
@@ -31,11 +31,6 @@ int nvgpu_get_timestamps_zipper(struct gk20a *g,
31 int err = 0; 31 int err = 0;
32 unsigned int i = 0; 32 unsigned int i = 0;
33 33
34 if (source_id != NVGPU_GPU_GET_CPU_TIME_CORRELATION_INFO_SRC_ID_TSC) {
35 nvgpu_err(g, "source_id %u not supported", source_id);
36 return -EINVAL;
37 }
38
39 if (gk20a_busy(g)) { 34 if (gk20a_busy(g)) {
40 nvgpu_err(g, "GPU not powered on\n"); 35 nvgpu_err(g, "GPU not powered on\n");
41 err = -EINVAL; 36 err = -EINVAL;