soc: qcom: smp2p: Remove unused struct attribute provide another
authorLee Jones <lee.jones@linaro.org>
Tue, 3 Nov 2020 15:28:32 +0000 (15:28 +0000)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Wed, 11 Nov 2020 05:20:44 +0000 (23:20 -0600)
Fixes the following W=1 kernel build warning:

 drivers/soc/qcom/smp2p.c:149: warning: Function parameter or member 'out' not described in 'qcom_smp2p'

Cc: Andy Gross <agross@kernel.org>
Cc: Bjorn Andersson <bjorn.andersson@linaro.org>
Cc: linux-arm-msm@vger.kernel.org
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20201103152838.1290217-20-lee.jones@linaro.org
[bjorn: Dropped hunk that fixed the same warning in smp2p_smem_item]
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/soc/qcom/smp2p.c

index a9709aa..2df4883 100644 (file)
@@ -112,6 +112,7 @@ struct smp2p_entry {
  * struct qcom_smp2p - device driver context
  * @dev:       device driver handle
  * @in:                pointer to the inbound smem item
+ * @out:       pointer to the outbound smem item
  * @smem_items:        ids of the two smem items
  * @valid_entries: already scanned inbound entries
  * @local_pid: processor id of the inbound edge