2015-01-12 0:13 GMT+01:00 Ben Skeggs :
> On Sun, Jan 11, 2015 at 11:53 PM, Rickard Strandqvist
> wrote:
>
> Hey Rickard,
>
>> Remove the function nvif_device_new() that is not used anywhere.
> It's used, just not by the kernel. All the code under core/ and nvif/
> is also built into a userspace l
On Sun, Jan 11, 2015 at 11:53 PM, Rickard Strandqvist
wrote:
Hey Rickard,
> Remove the function nvif_device_new() that is not used anywhere.
It's used, just not by the kernel. All the code under core/ and nvif/
is also built into a userspace library (not in the kernel tree,
obviously) and used
Remove the function nvif_device_new() 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/nvif/device.c | 18 --
drivers/gpu/drm/nouveau/nvif/device.h |