Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp3058085rwb; Mon, 7 Aug 2023 07:40:16 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEiJzKyUHoxeUjl/Z35sHq/6FyaS5vSUTM6PYYMXrbvvX19JS7sFUfTJn3w9o8kchB99+4s X-Received: by 2002:a17:907:a0c7:b0:991:b554:e64b with SMTP id hw7-20020a170907a0c700b00991b554e64bmr6466243ejc.54.1691419216651; Mon, 07 Aug 2023 07:40:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691419216; cv=none; d=google.com; s=arc-20160816; b=yfSO01WB0NBoL9wqFlhhBaCbmtOmAe6fwC2shk81TcY4nOhWTG0i7oxxFnQwH9TeeV xVRTfjgYtzGjFi5b7o0zaEfjHkxOMFEDP7z47WiF9t5Rdud43XHvFAJ0DeHdQrkec7hC Vsp5g3K3QmDuPKd0bOyUPA141cfgg7aVyKE19gAsUFtZu84mM+33ltIIFeWk+aW0Wq6W VT39cEQRBpB2Uqr723m86dYoQWuYLJpJygYh2NaJ+xfVSAjSLiURBRkH+1/hN0EPYmZ3 cdvzOed1lnQY1gyqn3ZbXNShG19ge7h2o4xw8BK8wLBynnQmLhkmT0Ygl1BeFRFRhj8P 96hQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:to:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=5M8wsR/Ywc4WCrzy2BaMww5dwJZ0cbmQWfLuC8h/3Ts=; fh=0Dhz0ni744h52WJhlN9w0QusZvXccxEJ0b2IOhaJBHI=; b=sdVSJZPjS6Sqpogw2QDGpLeNUxW4Yr7FcrdpNdHXRs0RCTYcHEvqPh9qaY+Bb3As2P xgdeWH+mwh7K7+Pii4reWJNoTUWaQIm6jrWZcwCsH6Om2K3pw+tEGyAIPYSpD6Iaa99/ R3Qu+C47X/qHhXoQQNV4eyRRK+ddKXxLan9Q6rYBFUgepFivNLRk+ne0IzLPiALjUR8H dvlbidgsrAyufhcj5EmbFHbChvH6Ck+v7q7/Z7d37NfTBwDIKthxNITZb437EjvX+oBQ yjNG4+nuLmKIR/ttUh1VEN61xQ0zWtaof0GLk4UTd+CGCxFW7qoVYnbV9EO/iGQedP4Y RTzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=lW1IgFNV; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gf23-20020a170906e21700b0099bcc37923esi6016615ejb.690.2023.08.07.07.39.57; Mon, 07 Aug 2023 07:40:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=lW1IgFNV; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231682AbjHGOEN (ORCPT + 57 others); Mon, 7 Aug 2023 10:04:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48610 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235141AbjHGODq (ORCPT ); Mon, 7 Aug 2023 10:03:46 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C8C7A1FEF; Mon, 7 Aug 2023 07:02:48 -0700 (PDT) Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 377CrjVo029888; Mon, 7 Aug 2023 14:02:38 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : to : references : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=5M8wsR/Ywc4WCrzy2BaMww5dwJZ0cbmQWfLuC8h/3Ts=; b=lW1IgFNVjVr8jJgwBsLIcYuVjdJhPlrCMy2ssZba0r8tFVViT6fYTOGX0QcB6phRnMrq EskfnPYliPWirIoFN1q7DHkeMVbRwqyVTuynMtiiPaHn0ZVKvZFqq5jWvEP1RfkTAQck 38nT8BuufRRIIvqoXu1mKjHrMblw0sc2I/+eRuaUk5XfL+yN2U0fv3ZzEQHF3OSk2RcS eVGTOTfIWrXfxP0JR4LnVCt0Y7jKqPFI8WBuW0YyVvdsyCCvMJaVjs4Jtk6wrlcE24ox 5C2tFwaPw6DnK58DSKaBIgsFF0sYc3Yt+f5j6LXZUEJKaM+/hPe/5o2Kgx2NC1tS+ZpE Og== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3sawbg8pk1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 07 Aug 2023 14:02:38 +0000 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 377E2bCA018705 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 7 Aug 2023 14:02:37 GMT Received: from [10.111.180.219] (10.49.16.6) 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.1118.30; Mon, 7 Aug 2023 07:02:36 -0700 Message-ID: Date: Mon, 7 Aug 2023 07:02:35 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH -next] wifi: ath5k: Remove redundant dev_err() Content-Language: en-US To: Ruan Jinjie , , , , , , References: <20230726171235.2475625-1-ruanjinjie@huawei.com> From: Jeff Johnson In-Reply-To: <20230726171235.2475625-1-ruanjinjie@huawei.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.49.16.6] X-ClientProxiedBy: nalasex01c.na.qualcomm.com (10.47.97.35) 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: 9j6Z4S-OV8DjPnJ3v_xrM5fgf5HJkimc X-Proofpoint-GUID: 9j6Z4S-OV8DjPnJ3v_xrM5fgf5HJkimc X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-08-07_14,2023-08-03_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1011 mlxlogscore=940 impostorscore=0 bulkscore=0 suspectscore=0 lowpriorityscore=0 phishscore=0 mlxscore=0 priorityscore=1501 malwarescore=0 adultscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2306200000 definitions=main-2308070130 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On 7/26/2023 10:12 AM, Ruan Jinjie wrote: > There is no need to call the dev_err() function directly to print a custom > message when handling an error from platform_get_irq() function as it is > going to display an appropriate error message in case of a failure. > > Signed-off-by: Ruan Jinjie Reviewed-by: Jeff Johnson > --- > drivers/net/wireless/ath/ath5k/ahb.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/net/wireless/ath/ath5k/ahb.c b/drivers/net/wireless/ath/ath5k/ahb.c > index 28a1e5eff204..08bd5d3b00f1 100644 > --- a/drivers/net/wireless/ath/ath5k/ahb.c > +++ b/drivers/net/wireless/ath/ath5k/ahb.c > @@ -115,7 +115,6 @@ static int ath_ahb_probe(struct platform_device *pdev) > > irq = platform_get_irq(pdev, 0); > if (irq < 0) { > - dev_err(&pdev->dev, "no IRQ resource found: %d\n", irq); > ret = irq; > goto err_iounmap; > }