Re: [PATCH] input: Remove invalid bug checks.

2014-04-07 Thread Peter Hutterer
On Wed, Apr 02, 2014 at 05:14:05PM +0300, Michal Srb wrote: Commit 2f1aedcaed8fd99b823d451bf1fb02330c078f67 added several bug checks. Some of them are not correct. Checks in Init(Ptr|String|Bell|Led|Integer)FeedbackClassDeviceStruct verify that no feedback struct was set yet, but that is not

[PATCH] input: Remove invalid bug checks.

2014-04-02 Thread Michal Srb
Commit 2f1aedcaed8fd99b823d451bf1fb02330c078f67 added several bug checks. Some of them are not correct. Checks in Init(Ptr|String|Bell|Led|Integer)FeedbackClassDeviceStruct verify that no feedback struct was set yet, but that is not required. If any feedback structs are already present, the