firmware: arm_scmi: drop unused `con_priv` structure member
authorSudeep Holla <sudeep.holla@arm.com>
Wed, 9 May 2018 16:52:06 +0000 (17:52 +0100)
committerSudeep Holla <sudeep.holla@arm.com>
Thu, 10 May 2018 09:51:58 +0000 (10:51 +0100)
Initially con_priv was supposedly used for transport specific data when
the SCMI driver had an abstraction to communicate with different mailbox
controllers. But after some discussions, the idea was dropped but this
variable slipped through the cracks.

This patch gets rid of this unused variable.

Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
drivers/firmware/arm_scmi/common.h

index 41b03e46cca8cca47891149d75c9b3548f6c0138..937a930ce87de63d45d7e8d44434efbe62a9d3de 100644 (file)
@@ -86,9 +86,7 @@ struct scmi_msg {
  *     buffer for the rx path as we use for the tx path.
  * @done: completion event
  */
-
 struct scmi_xfer {
-       void *con_priv;
        struct scmi_msg_hdr hdr;
        struct scmi_msg tx;
        struct scmi_msg rx;