diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2010-09-02 11:47:30 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2010-09-10 09:08:39 +1000 |
commit | f3861522fe7d148fd4b0802f2f9ea5d98ab2db93 (patch) | |
tree | f0b5bc31e88bddfa6e419801f3416332cc6562f7 | |
parent | 12170978617c6862fb6aa286b18aaacd0a4e2737 (diff) |
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>
-rw-r--r-- | hw/xfree86/common/xf86Xinput.c | 6 |
1 files changed, 0 insertions, 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); |