diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b')
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/acr_gm20b.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/acr_gm20b.c b/drivers/gpu/nvgpu/gm20b/acr_gm20b.c index 7c6b734b..2fb3bf9d 100644 --- a/drivers/gpu/nvgpu/gm20b/acr_gm20b.c +++ b/drivers/gpu/nvgpu/gm20b/acr_gm20b.c | |||
@@ -163,7 +163,6 @@ int fecs_ucode_details(struct gk20a *g, struct flcn_ucode_img *p_img) | |||
163 | 163 | ||
164 | p_img->desc = kzalloc(sizeof(struct pmu_ucode_desc), GFP_KERNEL); | 164 | p_img->desc = kzalloc(sizeof(struct pmu_ucode_desc), GFP_KERNEL); |
165 | if (p_img->desc == NULL) { | 165 | if (p_img->desc == NULL) { |
166 | kfree(lsf_desc); | ||
167 | err = -ENOMEM; | 166 | err = -ENOMEM; |
168 | goto free_lsf_desc; | 167 | goto free_lsf_desc; |
169 | } | 168 | } |