diff --git a/drivers/gpu/nvgpu/common/fifo/runlist.c b/drivers/gpu/nvgpu/common/fifo/runlist.c index 9988dd156..cfb177cec 100644 --- a/drivers/gpu/nvgpu/common/fifo/runlist.c +++ b/drivers/gpu/nvgpu/common/fifo/runlist.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011-2019, NVIDIA CORPORATION. All rights reserved. + * Copyright (c) 2011-2020, NVIDIA CORPORATION. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -648,8 +648,7 @@ void nvgpu_runlist_cleanup_sw(struct gk20a *g) u32 i, j; struct nvgpu_runlist_info *runlist; - if ((f == NULL) || (f->runlist_info == NULL) || - (f->active_runlist_info == NULL)) { + if ((f->runlist_info == NULL) || (f->active_runlist_info == NULL)) { return; }