Re: [PATCH] gpu: drm: nouveau: core: subdev: clock: base.c: Remove unused function

2014-12-21 Thread Rickard Strandqvist
kin" , dri-de...@lists.freedesktop.org, >> linux-kernel@vger.kernel.org >> Sent: Sunday, 21 December, 2014 2:54:16 AM >> Subject: [PATCH] gpu: drm: nouveau: core: subdev: clock: base.c: Remove >> unused function >> >> Remove the function nouveau_clock_ast

Re: [PATCH] gpu: drm: nouveau: core: subdev: clock: base.c: Remove unused function

2014-12-20 Thread Ben Skeggs
vger.kernel.org > Sent: Sunday, 21 December, 2014 2:54:16 AM > Subject: [PATCH] gpu: drm: nouveau: core: subdev: clock: base.c: Remove > unused function > > Remove the function nouveau_clock_astate() that is not used anywhere. No, don't remove this. It's only not used

[PATCH] gpu: drm: nouveau: core: subdev: clock: base.c: Remove unused function

2014-12-20 Thread Rickard Strandqvist
Remove the function nouveau_clock_astate() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/gpu/drm/nouveau/core/include/subdev/clock.h |1 - drivers/gpu/drm/nouveau/core/subdev/clock