Received: by 2002:ab2:7b86:0:b0:1f7:5705:b850 with SMTP id q6csp1234828lqh; Mon, 6 May 2024 00:51:51 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXtxWr7y2IJWRKq8kk94wSQ3Sws8FbGxX5SV78m/a+wEYCwiPxCMVcMYRq6wAOW071Da4HM0T7q6Dn42kOtavVRHaHuWfF2BQHJT2BLGw== X-Google-Smtp-Source: AGHT+IFV4N0jDaUgnU/qmKUOQuzs5ctO3i0DcWXTwNUCBIiIcSYM6aq+iZQyc3eNEJGhn4ouY2c4 X-Received: by 2002:a05:6a20:9d90:b0:1ae:3812:945e with SMTP id mu16-20020a056a209d9000b001ae3812945emr13034584pzb.62.1714981911189; Mon, 06 May 2024 00:51:51 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714981911; cv=pass; d=google.com; s=arc-20160816; b=j7ijsp34y9hrpBZMR0UVZoLDeHQkuD+ey9OVOq8Gv+ZTXtW49n+YC9oBKYKLZcWAq4 BXDKEHWgLcMCalHd8WNFyXM4fKR+prc7JVccxmfnGeSOOohBTF2BPw8wFyU5LLnWidtu FwTW4tonPpE3/V1TReBPlb55IuEfibsye7W81XbPFpwZOt6gNwPYBV07HJbzRK2cnvbg xoWUWVm9QmRzgazk4ztoSwk0KLOaZAswEmH3flTXR11RqhNX/G4EyXJzzwbeqAaiX1uM 6EpCTDHttRrX2z1I/heTyn/axY7s02Eaa+42iKVxCP00h9D44StONQI1ndIQ+ERYUN3N 8F1Q== 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=j1CVj2oZnYRlZs5a/i5QRPv/1AqJugNmm/k5hNeHcqU=; fh=/siUMC3GsBTAQ6uSpJftixciUdCGDG4uuTrjvAujLOI=; b=NNhYDucRKeCV10TbAgkGyAZAS1QhiOAHD4WGeTlCfS2UC+4E203nQlMhHB/mvPM3YD zqoHXMDcfJFK0RlwX+BhdfnYjLdzQyjg3Ay9wJRTGi+YkqpwXkcGDCkw/zWmhJsRRyAt eOFyPwVQfam819WBgv+3yz4qTOLPqBNXlZiVh4m/hhpT2GsxYy8TCTplHhuuVsBmmDad +4hjUekAq2OCrbgaY9wdrfrsp5rQ0eyKCjRnjdzsd9Og/v1P+jVGnWGBTEUEglWEbcD/ pp9pD2dDSTvqX2RDKj2XakwR+anMDeliENUD8bjvEXWtZN9GLs7hXY1zpkVfdSKQu/us fCuQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="Ih9yhy/v"; 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-169434-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-169434-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 n15-20020a17090ade8f00b002b5006bfc79si2803090pjv.187.2024.05.06.00.51.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 May 2024 00:51:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-169434-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="Ih9yhy/v"; 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-169434-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-169434-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 2E0DCB21E46 for ; Mon, 6 May 2024 07:50:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2A50C1420BB; Mon, 6 May 2024 07:50:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="Ih9yhy/v" Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.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 93FB1140E2E; Mon, 6 May 2024 07:49:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714981801; cv=none; b=BmkVkaY3Rv6tT0SpCR6aSGqKz0GMfZaFuoCcxwiQg5fyN46iaQ53HAOqe2OTSfUIVIdKXTHotZfE+EV91yXTU9/kzekXucHRetEeISfhnqHRsoSDHP2ZK0rNjg0YdGgCzwWBJMdgFto/ZjSFFbwHDIBtrvcUa/YZe0M+NqoDKac= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714981801; c=relaxed/simple; bh=nxjYtTOk4wofMpPel3ZmiyyJQPYo7VkLkJLA6OmGX78=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=Pl7/ai74OmjCIiD7MlhETRIMDLuS7MVG5kTQOvcXwl9wld0vs8MKu06s9VtEiiBQdqLv+VM1ZAqgy7pRd+IVjzCJtvKrTQLZwn1qBQ68Ch/B/d1kJ9HS3na88hDV8v4ssTN1ckAJdKsz3vPzWOArG/K/QYiwfRm7goj8SChek34= 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=Ih9yhy/v; arc=none smtp.client-ip=205.220.180.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 (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4464ealH001645; Mon, 6 May 2024 07:49:54 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=j1CVj2o ZnYRlZs5a/i5QRPv/1AqJugNmm/k5hNeHcqU=; b=Ih9yhy/vbbwvAiiwh3wCs2h K8mybdjk/TLnATd+P/fP+q/KwTgn1kfx/D8GvwWzgPci0qbP0w8WpQ5wtLpVdMBW imIdcxHANfzJlMPN5aaq7J/u2Ic7oJi2/7GBhMzHAamPDaP1YN58NiqonAzMWUbo WCVqFK6dQe99woRcrHu482UsTR1WTvJFtGKaIFQb5SbEFo1ZL4V7V8QtFCfoBvUC Jl8wtpRbtOJgWwAR/CDQ70KNbCfY9jwO7oTe9GzxUBjT6dniWDdluGKuNTxNkJnr GTOPjc3Hl6UovJ5w2E+RL0nCVFH6XrB9TXTE4F9MFssOMmFavMN4UMUDRn7CTqQ= = Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3xwd3yaxvg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 06 May 2024 07:49:54 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 4467nqSl009975 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 6 May 2024 07:49:52 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; Mon, 6 May 2024 00:49:49 -0700 From: Krishna Kurapati To: Thinh Nguyen , Greg Kroah-Hartman CC: , , , , Krishna Kurapati , kernel test robot Subject: [PATCH v2] usb: dwc3: core: Fix unused variable warning in core driver Date: Mon, 6 May 2024 13:19:39 +0530 Message-ID: <20240506074939.1833835-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-ORIG-GUID: KfaW0eNgj8nXo7IJOufUNp50r1Hf-48l X-Proofpoint-GUID: KfaW0eNgj8nXo7IJOufUNp50r1Hf-48l 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_04,2024-05-03_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 mlxscore=0 malwarescore=0 phishscore=0 mlxlogscore=508 adultscore=0 clxscore=1015 impostorscore=0 lowpriorityscore=0 priorityscore=1501 spamscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2404010003 definitions=main-2405060050 While fixing a merge conflict in linux-next, hw_mode variable was left unused. Remove the unused variable in hs_phy_setup call. Reported-by: kernel test robot Closes: https://lore.kernel.org/all/202405030439.AH8NR0Mg-lkp@intel.com/ Signed-off-by: Krishna Kurapati --- Changes in v2: Added reported by and closes tags. 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