]> git.karo-electronics.de Git - linux-beck.git/commit
mei: drop unneeded client NULL check in cb structure
authorAlexander Usyskin <alexander.usyskin@intel.com>
Thu, 2 Oct 2014 10:39:31 +0000 (13:39 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 3 Nov 2014 23:52:48 +0000 (15:52 -0800)
commit140c7553231dcd119ebda8c27dec7f06aef7e323
treedeebf68909102b7a828ca8b92cb354383c72004a
parent0df1f2487d2f0d04703f142813d53615d62a1da4
mei: drop unneeded client NULL check in cb structure

The pointer to client in the callback structure (cb->cl)
can't be NULL with current locking.
We can drop check and warnings as in some cases this just
uselessly complicates the code flow.

Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/amthif.c
drivers/misc/mei/client.c
drivers/misc/mei/hbm.c
drivers/misc/mei/interrupt.c