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

From: Vojtech Pavlik
Date: Thu Jul 29 2004 - 09:45:47 EST


You can pull this changeset from:
bk://kernel.bkbits.net/vojtech/input

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

ChangeSet@xxxxxxxxxxx, 2004-06-02 13:00:58-05:00, dtor_core@xxxxxxxxxxxxx
Input: logips2pp - do not call get_model_info 2 times

Signed-off-by: Dmitry Torokhov <dtor@xxxxxxx>


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 */

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/