From: Dmitry Torokhov Date: Sat, 21 Apr 2012 05:33:09 +0000 (-0700) Subject: Input: tc3589x-keypad - remove unnecessary checks X-Git-Tag: v3.5-rc1~103^2^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71f3d070a309504cdfef87b9e98836395b75ae0e;p=pandora-kernel.git Input: tc3589x-keypad - remove unnecessary checks settle_time and debounce_period are u8 and thus can not be greater than TC3589x_MAX_DEBOUNCE_SETTLE which is 255. There also no need to mask out nibbles form board->krow and board->kcol as we validate that they are in correct range. Reported-by: Werner Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed