From 69cfb8a254b0f1b042f5dc5d255df7c1821293aa Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Wed, 19 Mar 2014 14:27:12 +0200 Subject: video: tegra: host: gk20a: Remove duplicated code Two calls to gk20a_init_gpu_characteristics() is not needed. GPU sim aperture was defined twice. Change-Id: Iaf78611717c55b1cae456358fcae2641ad552d9f Signed-off-by: Terje Bergstrom Reviewed-on: http://git-master/r/383855 Reviewed-by: Automatic_Commit_Validation_User --- drivers/gpu/nvgpu/gk20a/gk20a.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'drivers/gpu/nvgpu') diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.c b/drivers/gpu/nvgpu/gk20a/gk20a.c index 2b912241..1411d1cc 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/gk20a.c @@ -917,12 +917,6 @@ static int gk20a_pm_finalize_poweron(struct device *dev) goto done; } - err = gk20a_init_gpu_characteristics(g); - if (err) { - nvhost_err(&dev->dev, "failed to init gk20a gpu characteristics"); - goto done; - } - gk20a_channel_resume(g); set_user_nice(current, nice_value); -- cgit v1.2.2