diff options
Diffstat (limited to 'drivers/gpu/nvgpu')
-rw-r--r-- | drivers/gpu/nvgpu/os/linux/ctxsw_trace.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/gpu/nvgpu/os/linux/ctxsw_trace.c b/drivers/gpu/nvgpu/os/linux/ctxsw_trace.c index 05e6ef09..2d36d9ce 100644 --- a/drivers/gpu/nvgpu/os/linux/ctxsw_trace.c +++ b/drivers/gpu/nvgpu/os/linux/ctxsw_trace.c | |||
@@ -321,11 +321,6 @@ int gk20a_ctxsw_dev_open(struct inode *inode, struct file *filp) | |||
321 | 321 | ||
322 | nvgpu_log(g, gpu_dbg_fn|gpu_dbg_ctxsw, "g=%p", g); | 322 | nvgpu_log(g, gpu_dbg_fn|gpu_dbg_ctxsw, "g=%p", g); |
323 | 323 | ||
324 | if (!capable(CAP_SYS_ADMIN)) { | ||
325 | err = -EPERM; | ||
326 | goto free_ref; | ||
327 | } | ||
328 | |||
329 | err = gk20a_busy(g); | 324 | err = gk20a_busy(g); |
330 | if (err) | 325 | if (err) |
331 | goto free_ref; | 326 | goto free_ref; |