From f3861522fe7d148fd4b0802f2f9ea5d98ab2db93 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 2 Sep 2010 11:47:30 +1000 Subject: [PATCH] xfree86: skip a few NULL initialization, calloc does it for us. Signed-off-by: Peter Hutterer Reviewed-by: Tiago Vignatti Reviewed-by: Fernando Carrijo --- hw/xfree86/common/xf86Xinput.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/hw/xfree86/common/xf86Xinput.c b/hw/xfree86/common/xf86Xinput.c index 538a98b3e..d5d03e922 100644 --- a/hw/xfree86/common/xf86Xinput.c +++ b/hw/xfree86/common/xf86Xinput.c @@ -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);