From 65389649037ce69e57b6579b46ae9559fbb0b1a8 Mon Sep 17 00:00:00 2001 From: Gauri Joshi Date: Fri, 8 Jan 2021 10:11:22 -0800 Subject: [PATCH] msm: pcie-ep: Remove redundant struct member Unused direction variable in the phy info struct was causing crashes due to read mismatch. Change-Id: I8f49ffb13982c65b5577fa5e89095046b7179669 Signed-off-by: Gauri Joshi --- drivers/platform/msm/ep_pcie/ep_pcie_com.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/platform/msm/ep_pcie/ep_pcie_com.h b/drivers/platform/msm/ep_pcie/ep_pcie_com.h index e880a5af8177..2d43f2adf742 100644 --- a/drivers/platform/msm/ep_pcie/ep_pcie_com.h +++ b/drivers/platform/msm/ep_pcie/ep_pcie_com.h @@ -1,5 +1,5 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -/* Copyright (c) 2015-2020, The Linux Foundation. All rights reserved.*/ +/* Copyright (c) 2015-2021, The Linux Foundation. All rights reserved.*/ #ifndef __EP_PCIE_COM_H #define __EP_PCIE_COM_H @@ -315,7 +315,6 @@ struct ep_pcie_phy_info_t { u32 offset; u32 val; u32 delay; - u32 direction; }; /* pcie endpoint device structure */