From 67cfb66562cd9d39f30fec6fbc38eb1eb5e5b030 Mon Sep 17 00:00:00 2001 From: Pauli Nieminen Date: Thu, 22 Jul 2010 15:05:57 +0300 Subject: xkb: Remove redurant intialization code calloc already initializes allocated memory to zero. Signed-off-by: Pauli Nieminen Reviewed-by: Peter Hutterer --- xkb/xkbEvents.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'xkb/xkbEvents.c') diff --git a/xkb/xkbEvents.c b/xkb/xkbEvents.c index 8028502b9..c020e5e2a 100644 --- a/xkb/xkbEvents.c +++ b/xkb/xkbEvents.c @@ -1045,15 +1045,6 @@ XkbInterestPtr interest; interest->dev = dev; interest->client = client; interest->resource = id; - interest->stateNotifyMask= 0; - interest->ctrlsNotifyMask= 0; - interest->namesNotifyMask= 0; - interest->compatNotifyMask= 0; - interest->bellNotifyMask= FALSE; - interest->accessXNotifyMask= 0; - interest->iStateNotifyMask= 0; - interest->iMapNotifyMask= 0; - interest->altSymsNotifyMask= 0; interest->next = dev->xkb_interest; dev->xkb_interest= interest; return interest; -- cgit v1.2.3