Received: by 2002:ab2:7b86:0:b0:1f7:5705:b850 with SMTP id q6csp1187274lqh; Sun, 5 May 2024 22:17:46 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUyQzOT1a1sdwfQDN4cJVj3cIBlmP062LT4AsPH3QyuzLTT1e2bvkp/ZZMAPS8ijSek6O+L6VZMUh2jVtCO+40Bc12lZKS4yrQjcEJyjA== X-Google-Smtp-Source: AGHT+IGwwC65sol7jz2vzzDTyAhxiLmzXVH0gGIg1j85gMHw5T/BOMHNczfebQNHknViFoPkbZki X-Received: by 2002:a05:6359:4c84:b0:191:d074:733c with SMTP id kk4-20020a0563594c8400b00191d074733cmr1400055rwc.30.1714972666440; Sun, 05 May 2024 22:17:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714972666; cv=pass; d=google.com; s=arc-20160816; b=fpwAv1DTBDDrTSFbSYV69Wqv0Vf2vZIK/66JR09d8f5O220lGic1gUqN+/yXJxV7CN R9fHb1zyjpNwkbT4Lp671DS+uuN9ux0U2bL77h3Ucm6rFNcPZwDVOf4qrGGCSPgZQr2o dWrphotFR4w2YFtJPTDgIRW6hXGemeAVnO4SKT76cqIhX+Td28hwIAACjn99L3AdqxwB 2uqkZVG0n34PURQKyw/CR1GLPaAlf8UMzagXodXPBLBly6nPJNT5SKtQ3o27Kt+pI1gC Lfwix99eGfzquplYT6lcjywHBycRGEbU64XLN1CEoB1bQ7RKlr6ErwzFLDtO2rm+W0CI NYwQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=z0XwOvB72dJUZkcF3hng94pWYHRw7u8W7DxQNCBWw8A=; fh=kV+yWbVihu73sdb1/KiQbbSHHpenekcxLyA2tbLDe1g=; b=Ot/HiFH5ZJSFdP95X4klcSNaF1TYf98Q6UENMtK70jBWNJqphpXQXlmLveB/diGTc/ ntQwUuSJOgvVUuaLBRluHnO3/bUjvKpJuzuUQ7CXI7sF0eVmCO0v9ckRLgLYBKEeSkUs taK3dsNE7L2NMuYBKjQom8br0hQc/mppl/GOnGFN6cfubWAOirHQEN6uU+rqWXkmvDza oA1vejXDhn3IhSO0pJkWaQJgfdcvQWLHbT+p2Kz8ovf83TdkIBUIDOeHfw8kWSmLY3QG F3FIjnEM0pnsZ08eGlb9RvrKwLXyVLAbKtajus8q9oPDZI9GS1D30kSs/WMSi3+jZlRj /WSw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=dgvNatgK; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-169309-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-169309-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id s18-20020a656912000000b0061cd65b4356si6086765pgq.826.2024.05.05.22.17.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 May 2024 22:17:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-169309-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=dgvNatgK; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-169309-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-169309-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 763F4B213CE for ; Mon, 6 May 2024 05:16:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 04AB147F63; Mon, 6 May 2024 05:16:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="dgvNatgK" Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D5BB01EEE9; Mon, 6 May 2024 05:16:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714972568; cv=none; b=hJjDPv9Azu0BP69Y5RsgF9dp70W24/VrmAaK3KjP/2f6EKXffWvFWd6BVaBuPqRlcuvj6ROkcvjnD6xF2H15S9Rf0U8OwHssEOU0fbWlEN9VsWQANc6xuCMjm7P1yVtXabDmKkHW+2kyfmWTZewpSRS2jVyzE+pGJ0KC7IgYXTg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714972568; c=relaxed/simple; bh=BAKASVa/AofS5RB0Gp033UciJlTVWR1s4oyK01067g8=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=KAuQIrEsFR7UZbicn2zJ9w23QE81xWv2UV1Sx6K2RSMLyWUpljXnuKLSP0v8rK10CCCrHB0tn2DXod61LMA/pTjHd6XazbvYWg7au6Wqi3IzZJ/2t8zabCYG3kZEhHIanOj4NmyVIbl54BFrMOiKhDbJPmUr8gbY1z4bjO874uY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=dgvNatgK; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4462C9Pl027974; Mon, 6 May 2024 05:16:02 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding:content-type; s=qcppdkim1; bh=z0XwOvB 72dJUZkcF3hng94pWYHRw7u8W7DxQNCBWw8A=; b=dgvNatgKTzVj8+Q9orQMLIV e+qiLefuOoX/VaS4tWeiUQorSsntKXojoR3i6G2Ka8Hko7gHRxHU3kCU0KxkB81+ mzoyQSZuykrThtJR3GwVrE9EJ343xUR3R1B3W3UX2NgkCxWMtSGoIsAhW95Na98D h5+cCQ9eqJp+Dhs3sdAMwu2vYSyV/2xECLmDfPOLxESz8zJsx5npyLTMqRX7ehsg g5VvZ/ZV+xcyF+lxLblRr3LrBiBFZ1IQKe7vrNkHVKByCLpjpaXQzcLSO1rpke7G 1vzx1pDyH8PL7KfRLlp1AD0sC9QHBt44Jnwtgux7NLaSDW5aMdpPqdG2tVaUycg= = Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3xwaqjjtdg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 06 May 2024 05:16:01 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 4465G0bO029663 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 6 May 2024 05:16:00 GMT Received: from hu-kriskura-hyd.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Sun, 5 May 2024 22:15:57 -0700 From: Krishna Kurapati To: Thinh Nguyen , Greg Kroah-Hartman CC: , , , , Krishna Kurapati Subject: [PATCH] usb: dwc3: core: Fix unused variable warning in core driver Date: Mon, 6 May 2024 10:45:48 +0530 Message-ID: <20240506051548.1768794-1-quic_kriskura@quicinc.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: rHNOMOi9N8VfqUv8lIS_xZm9Pb6fKWI- X-Proofpoint-ORIG-GUID: rHNOMOi9N8VfqUv8lIS_xZm9Pb6fKWI- X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1011,Hydra:6.0.650,FMLib:17.11.176.26 definitions=2024-05-06_02,2024-05-03_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 spamscore=0 clxscore=1015 mlxscore=0 mlxlogscore=575 malwarescore=0 bulkscore=0 phishscore=0 impostorscore=0 suspectscore=0 lowpriorityscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2404010003 definitions=main-2405060029 While fixing a merge conflict in linux-next, hw_mode variable was left unused. Remove the unused variable in hs_phy_setup call. Signed-off-by: Krishna Kurapati --- drivers/usb/dwc3/core.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c index 8b6f7769fcd5..7f176ba25354 100644 --- a/drivers/usb/dwc3/core.c +++ b/drivers/usb/dwc3/core.c @@ -676,11 +676,8 @@ static int dwc3_ss_phy_setup(struct dwc3 *dwc, int index) static int dwc3_hs_phy_setup(struct dwc3 *dwc, int index) { - unsigned int hw_mode; u32 reg; - hw_mode = DWC3_GHWPARAMS0_MODE(dwc->hwparams.hwparams0); - reg = dwc3_readl(dwc->regs, DWC3_GUSB2PHYCFG(index)); /* Select the HS PHY interface */ -- 2.34.1