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

2014-12-21 Thread Rickard Strandqvist
" , "Ilia >> Mirkin" , dri-devel at lists.freedesktop.org, >> linux-kernel at 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

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

2014-12-20 Thread Ben Skeggs
rnel at 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 u

[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