xkb: Remove redurant intialization code

calloc already initializes allocated memory to zero.

Signed-off-by: Pauli Nieminen <ext-pauli.nieminen@nokia.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Pauli Nieminen 2010-07-22 15:05:57 +03:00 committed by Peter Hutterer
parent 2475ef6097
commit 67cfb66562

View File

@ -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;