diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a_sysfs.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a_sysfs.c b/drivers/gpu/nvgpu/gk20a/gk20a_sysfs.c index a79ec201..55ebcc8f 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a_sysfs.c +++ b/drivers/gpu/nvgpu/gk20a/gk20a_sysfs.c | |||
@@ -303,8 +303,6 @@ static ssize_t railgate_enable_store(struct device *dev, | |||
303 | platform->can_railgate = false; | 303 | platform->can_railgate = false; |
304 | platform->user_railgate_disabled = true; | 304 | platform->user_railgate_disabled = true; |
305 | } | 305 | } |
306 | if (err) | ||
307 | return err; | ||
308 | 306 | ||
309 | dev_info(dev, "railgate is %s.\n", platform->can_railgate ? | 307 | dev_info(dev, "railgate is %s.\n", platform->can_railgate ? |
310 | "enabled" : "disabled"); | 308 | "enabled" : "disabled"); |