Delete unused variable in xgi_driver_load.

main
Ian Romanick 2007-07-19 19:09:24 -07:00
parent 970674f486
commit 56665a42f4
1 changed files with 1 additions and 4 deletions

View File

@ -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);