[PATCH 14/47] logips2pp - do not call get_model_info 2 times

Vojtech Pavlik
2004-07-29T14:34:49Z

ChangeSet@1.1612.25.2, 2004-06-02 13:00:58-05:00, dtor_core@ameritech.net
Input: logips2pp - do not call get_model_info 2 times

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>

logips2pp.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

===================================================================

diff -Nru a/drivers/input/mouse/logips2pp.c b/drivers/input/mouse/logips2pp.c
--- a/drivers/input/mouse/logips2pp.c Thu Jul 29 14:41:21 2004
+++ b/drivers/input/mouse/logips2pp.c Thu Jul 29 14:41:21 2004
@@ -277,7 +277,7 @@
protocol = PSMOUSE_PS2TPP;
}

- } else if (get_model_info(model) != NULL) {
+ } else if (model_info != NULL) {

param[0] = param[1] = param[2] = 0;
ps2pp_cmd(psmouse, param, 0x39); /* Magic knock */