vga_switcheroo: Remove unnecessary checks
authorThierry Reding <treding@nvidia.com>
Wed, 12 Aug 2015 14:32:12 +0000 (16:32 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 12 Aug 2015 15:13:19 +0000 (17:13 +0200)
commit798ae0f6693deac4a07377d0c45b4325b7026278
tree14fc1551e7883b110ed43526643ebaf811c436df
parent7491bfb446741b1dd65aadda54bade18bfaba442
vga_switcheroo: Remove unnecessary checks

debugfs_remove() gracefully ignores NULL parameters, so the explicit
checks can be removed.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/vga/vga_switcheroo.c