summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2008-03-10 18:30:17 +1000
committerDave Airlie <airlied@linux.ie>2008-03-10 18:30:17 +1000
commit07ba3b7193f1a50c3ef0509f9e37dab41457f81b (patch)
tree8be473a99d7186b33a1846645c3cf529e622e8a5
parent2848f048616c2c97f02701386ee73137a1307e2c (diff)
remove unneeded load call
-rw-r--r--linux-core/drm_stub.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/linux-core/drm_stub.c b/linux-core/drm_stub.c
index 6584f51d..c68adbaf 100644
--- a/linux-core/drm_stub.c
+++ b/linux-core/drm_stub.c
@@ -157,11 +157,6 @@ static int drm_fill_in_dev(struct drm_device * dev, struct pci_dev *pdev,
}
}
- if (dev->driver->load)
- if ((retcode = dev->driver->load(dev, ent->driver_data)))
- goto error_out_unreg;
-
-
retcode = drm_ctxbitmap_init(dev);
if (retcode) {
DRM_ERROR("Cannot allocate memory for context bitmap.\n");