xfree86: skip a few NULL initialization, calloc does it for us.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Tiago Vignatti <tiago.vignatti@nokia.com>
Reviewed-by: Fernando Carrijo <fcarrijo@freedesktop.org>
This commit is contained in:
Peter Hutterer 2010-09-02 11:47:30 +10:00
parent 1217097861
commit f3861522fe

View File

@ -666,12 +666,6 @@ xf86AllocateInput(InputDriverPtr drv, IDevPtr idev)
new->fd = -1;
new->name = idev->identifier;
new->type_name = "UNKNOWN";
new->device_control = NULL;
new->read_input = NULL;
new->control_proc = NULL;
new->switch_mode = NULL;
new->dev = NULL;
new->private = NULL;
new->conf_idev = idev;
xf86CollectInputOptions(new, (const char**)drv->default_options, NULL);