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:
parent
2475ef6097
commit
67cfb66562
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user