Re: [PATCH] Input : Optimize joydev_connect function

2015-03-10 Thread Dmitry Torokhov
Hi Anshul, On Tue, Mar 10, 2015 at 11:36:17AM -0700, Anshul Garg wrote: > From: Anshul Garg > > In joydev_connect function added check for event type before > setting properties for that event. This will avoid dummy > loop iterations which checks for event code even if event type > is not set.

[PATCH] Input : Optimize joydev_connect function

2015-03-10 Thread Anshul Garg
From: Anshul Garg In joydev_connect function added check for event type before setting properties for that event. This will avoid dummy loop iterations which checks for event code even if event type is not set. Signed-off-by: Anshul Garg --- drivers/input/joydev.c | 44 ++