From: Tobias Klauser Date: Tue, 12 Jun 2012 06:55:32 +0000 (-0700) Subject: Input: gpio_keys - remove useless reinitialization of pdata->nbuttons X-Git-Tag: v3.6-rc1~95^2^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4eceb14f669cb9e9d189019e8fcbf73577fe77a7;p=pandora-kernel.git Input: gpio_keys - remove useless reinitialization of pdata->nbuttons pdata is zeroed using memset just a few lines before, so there is no need to set the nbuttons member to 0 again. Signed-off-by: Tobias Klauser Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed