dix: remove obsolete comment.from EnableDevice.

The code this comment was referring to was removed in
8b5086250a "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 cf4f3d0518)
This commit is contained in:
Peter Hutterer 2010-05-21 13:30:25 +10:00
parent 869d377214
commit 2ab11e0973

View file

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