OSDN Git Service
(root)
/
android-x86
/
external-libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
970674f
)
Delete unused variable in xgi_driver_load.
author
Ian Romanick
<idr@us.ibm.com>
Fri, 20 Jul 2007 02:09:24 +0000
(19:09 -0700)
committer
Ian Romanick
<idr@us.ibm.com>
Fri, 20 Jul 2007 02:09:24 +0000
(19:09 -0700)
linux-core/xgi_drv.c
patch
|
blob
|
history
diff --git
a/linux-core/xgi_drv.c
b/linux-core/xgi_drv.c
index
c4e7daa
..
bcb6946
100644
(file)
--- a/
linux-core/xgi_drv.c
+++ b/
linux-core/xgi_drv.c
@@
-286,11
+286,8
@@
void xgi_kern_isr_bh(struct drm_device *dev)
int xgi_driver_load(struct drm_device *dev, unsigned long flags)
{
- struct xgi_info *info;
- int err;
-
+ struct xgi_info *info = drm_alloc(sizeof(*info), DRM_MEM_DRIVER);
- info = drm_alloc(sizeof(*info), DRM_MEM_DRIVER);
if (!info)
return DRM_ERR(ENOMEM);