diff options
author | Dave Airlie <airlied@redhat.com> | 2013-03-12 10:27:19 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2013-03-12 10:31:28 +1000 |
commit | 7a7b12762904eea329f678987565d89db56421b6 (patch) | |
tree | b88a6300e763a36222e8e1568505cc9da5c1f0ec | |
parent | a474a718e118895978beb19d77d730f578c201ef (diff) |
qxl: drop pointless and wrong memset.
Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r-- | src/qxl_driver.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/qxl_driver.c b/src/qxl_driver.c index b2f803b..7b59b2c 100644 --- a/src/qxl_driver.c +++ b/src/qxl_driver.c @@ -1029,7 +1029,6 @@ qxl_pre_init (ScrnInfoPtr pScrn, int flags) pScrn->driverPrivate = xnfcalloc (sizeof (qxl_screen_t), 1); qxl = pScrn->driverPrivate; - memset (qxl, 0, sizeof (qxl)); qxl->device_primary = QXL_DEVICE_PRIMARY_UNDEFINED; qxl->pScrn = pScrn; qxl->x_modes = NULL; |