[PATCH] dix: remove obsolete comment.from EnableDevice.

Peter Hutterer peter.hutterer at who-t.net
Thu May 20 20:30:25 PDT 2010


The code this comment was referring to was removed in
8b5086250aa5dae8de8b763408ff480d7beac819 "Eliminate bogus event resizing."

Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 dix/devices.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/dix/devices.c b/dix/devices.c
index 6f7c584..60e73b3 100644
--- a/dix/devices.c
+++ b/dix/devices.c
@@ -374,10 +374,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);
-- 
1.7.0.1



More information about the xorg-devel mailing list