diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-04-20 22:33:09 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-04-20 23:08:48 -0700 |
commit | 71f3d070a309504cdfef87b9e98836395b75ae0e (patch) | |
tree | 75ed4cbae62fece04fd06a15a7460fa8215bb2fa /net/sunrpc/svc_xprt.c | |
parent | bcad87bd92f4331d4422c1afd571e66f7f5c95d6 (diff) |
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 <w.landgraf@ru.ru>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'net/sunrpc/svc_xprt.c')
0 files changed, 0 insertions, 0 deletions