diff options
author | Tommi Rantala <tt.rantala@gmail.com> | 2012-11-09 09:19:38 (GMT) |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-11-20 06:06:26 (GMT) |
commit | b0e77f45a6da3f361d69680baeb0e133d0bc46c0 (patch) | |
tree | dea3c8bbdfb54bd505099034372db48b6aee3e13 /drivers/gpu/drm/mgag200 | |
parent | 602286469cebc9dcd6391eb33199736b15b82483 (diff) | |
download | linux-fsl-qoriq-b0e77f45a6da3f361d69680baeb0e133d0bc46c0.tar.xz |
drm/mgag200: remove unneeded aper->count assignment after alloc_apertures()
alloc_apertures() already does the assignment for us, so assigning the
count member after the alloc_apertures() call is not needed.
Signed-off-by: Tommi Rantala <tt.rantala@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/mgag200')
-rw-r--r-- | drivers/gpu/drm/mgag200/mgag200_main.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/mgag200/mgag200_main.c b/drivers/gpu/drm/mgag200/mgag200_main.c index 857d71b..70dd3c5 100644 --- a/drivers/gpu/drm/mgag200/mgag200_main.c +++ b/drivers/gpu/drm/mgag200/mgag200_main.c @@ -142,7 +142,6 @@ static int mga_vram_init(struct mga_device *mdev) aper->ranges[0].base = mdev->mc.vram_base; aper->ranges[0].size = mdev->mc.vram_window; - aper->count = 1; remove_conflicting_framebuffers(aper, "mgafb", true); kfree(aper); |