Minor code cleanup

MFC after:	3 days
This commit is contained in:
Robert Noland 2009-03-17 03:46:37 +00:00
parent d87f6722c5
commit a4501e547e

View File

@ -216,7 +216,7 @@ int drm_addmap(struct drm_device * dev, unsigned long offset,
DRM_LOCK();
return EINVAL;
}
map->offset = map->offset + dev->sg->handle;
map->offset += dev->sg->handle;
break;
case _DRM_CONSISTENT:
/* Unfortunately, we don't get any alignment specification from