diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2010-05-21 13:30:25 +1000 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2010-05-20 22:44:36 -0700 |
commit | cf4f3d051858aadedd6e333bb317a1daa3987ad7 (patch) | |
tree | 3432c87f2ecf5d942291faedb0e677901540ab3a /dix/devices.c | |
parent | 5754e66044571d549c295b7c9e02ce3348dbe3c7 (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>
Diffstat (limited to 'dix/devices.c')
-rw-r--r-- | dix/devices.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/dix/devices.c b/dix/devices.c index de72c8834..ab8c3f9db 100644 --- a/dix/devices.c +++ b/dix/devices.c @@ -311,10 +311,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); |