diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2018-07-23 12:21:24 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-07-24 14:16:57 +0200 |
commit | a1c4d08b6b95a0e296285ee53cc1438b3f168f98 (patch) | |
tree | e1821fb291409d88c6d8cb2cd8b5f12ab0d0ca6e /drivers/misc/mei/mei_dev.h | |
parent | mei: move hbuf_depth from the mei device to the hw modules (diff) | |
download | linux-a1c4d08b6b95a0e296285ee53cc1438b3f168f98.tar.xz linux-a1c4d08b6b95a0e296285ee53cc1438b3f168f98.zip |
mei: add mei_msg_hdr_init wrapper.
Wrap the mei header boilerplate initialization code in
mei_msg_hdr_init function. On the way remove 'completed'
field from mei_cl_cb structure as this information
is already included in the header and is local to particular
fragment.
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/mei/mei_dev.h')
-rw-r--r-- | drivers/misc/mei/mei_dev.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/misc/mei/mei_dev.h b/drivers/misc/mei/mei_dev.h index fa543dcfc111..e9f37085a628 100644 --- a/drivers/misc/mei/mei_dev.h +++ b/drivers/misc/mei/mei_dev.h @@ -175,7 +175,6 @@ struct mei_cl; * @status: io status of the cb * @internal: communication between driver and FW flag * @blocking: transmission blocking mode - * @completed: the transfer or reception has completed */ struct mei_cl_cb { struct list_head list; @@ -187,7 +186,6 @@ struct mei_cl_cb { int status; u32 internal:1; u32 blocking:1; - u32 completed:1; }; /** |