mei: use connect_data on the stack
authorTomas Winkler <tomas.winkler@intel.com>
Thu, 21 Aug 2014 11:29:23 +0000 (14:29 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Sep 2014 05:57:48 +0000 (22:57 -0700)
commit154eb18fedd5219516887a7e2bf2825b1b06ff2b
tree4f5c3cb7c1efa79b7ea4f42fdeabd6c1679486c3
parent4f046e7b6f4f0d8c9504e22cf8eacfe5c78f0f01
mei: use connect_data on the stack

There is no need for dynamic allocation for connect_data.
We can use variable on the stack and make code less
error prone and simple

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/main.c