summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2010-05-21 13:30:25 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2010-05-24 17:21:47 +1000
commit2ab11e09734dec4f119166fa6512eb25b4572e48 (patch)
tree4c7e79a78373056f3bc463a8ba0c6ebc5f47b1f5
parent869d37721425d219c50962b694c3326407d1d2e6 (diff)
dix: remove obsolete comment.from EnableDevice.
The code this comment was referring to was removed in 8b5086250aa5dae8de8b763408ff480d7beac819 "Eliminate bogus event resizing." Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Daniel Stone <daniel@fooishbar.org> Signed-off-by: Keith Packard <keithp@keithp.com> (cherry picked from commit cf4f3d051858aadedd6e333bb317a1daa3987ad7)
-rw-r--r--dix/devices.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/dix/devices.c b/dix/devices.c
index 042f12ffa..b55df169f 100644
--- a/dix/devices.c
+++ b/dix/devices.c
@@ -318,10 +318,6 @@ EnableDevice(DeviceIntPtr dev, BOOL sendevent)
}
}
- /* Before actually enabling the device, we need to make sure the event
- * list's events have enough memory for a ClassesChangedEvent from the
- * device
- */
if ((*prev != dev) || !dev->inited ||
((ret = (*dev->deviceProc)(dev, DEVICE_ON)) != Success)) {
ErrorF("[dix] couldn't enable device %d\n", dev->id);