Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3989772pxb; Tue, 25 Jan 2022 00:50:31 -0800 (PST) X-Google-Smtp-Source: ABdhPJw6XeEkWKs1f4O3dIbu3z913ei19cQGel5mFFfqxqvK71WC/+VHOhtfMPp/OJQrYeq0qu40 X-Received: by 2002:a17:907:968f:: with SMTP id hd15mr5213870ejc.369.1643100631401; Tue, 25 Jan 2022 00:50:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643100631; cv=none; d=google.com; s=arc-20160816; b=sLZM5miq4wx2EP1O53wfd2DE9B4K3iufQLazACEdFeZUugrPzBuNmFeeWsQZ9dlI8S 9+hXCAJpEDZyHETZbqxJKPp3VWCLIIi5Yj0+RaWBtpf6ga2p6GoRese8VE2DMHDBTGLg BPe4PJmAs93yMadArx/mmAhvJe8jQ4dkYmgcb1ZHwyvda8vkflzUSFEttwPBwHbYiGpX G3f+pYmn/RsEGKSgzT7KX0Whne69jF/8c5iz082iAVvspJa3RtPdP/n4LTqc1jKJ4X0a z0TLb+Nc2CeES0SP1JHIjDdoCNcXnVKvkrn8e75W5MVypkcr9pbQfl7DIyF/kJqw2c/C JsTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=7znmcaDRDi4XBN93/6yXaX6uBsi3TKnQRGE8o8aEMJU=; b=qI3nqOhgoKqd9vZL3OEqwKBmVaD+AZJSRj4ZkdN79z2TknwrmEJGdhFOl2RAZK4rX/ cY0MXUYtoYB/oguD2Ldde+YA6PFs/8Y0r9XjRTQWsAV08pfXH/BvwH47fFZncAzjqvfQ 2ZfcMfiDFNNd6qRq/3CxAqpFZMij40RMukPShhYyvEcAtcuiVGyUHDMTRzUqhue4C4nc paMsYlmjfNZvtLNRhkyLdx+aJey7IqC085A+2XThL8Yyq1RgpSZ6yObgD//43jyVK+cr IZr+3U0rWUprwLwTqS/6/Y0R0KdtqdIORahGVVNxMA6CWUJt2xW8PeZyF0VazUXfUIb+ SPfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@philpotter-co-uk.20210112.gappssmtp.com header.s=20210112 header.b=6NrmZXRP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z13si11217779edc.165.2022.01.25.00.50.07; Tue, 25 Jan 2022 00:50:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@philpotter-co-uk.20210112.gappssmtp.com header.s=20210112 header.b=6NrmZXRP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1320411AbiAYDMp (ORCPT + 99 others); Mon, 24 Jan 2022 22:12:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44654 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S3415687AbiAYC4w (ORCPT ); Mon, 24 Jan 2022 21:56:52 -0500 Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E50DBC0E532B for ; Mon, 24 Jan 2022 14:44:37 -0800 (PST) Received: by mail-wm1-x32c.google.com with SMTP id j5-20020a05600c1c0500b0034d2e956aadso434064wms.4 for ; Mon, 24 Jan 2022 14:44:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=philpotter-co-uk.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=7znmcaDRDi4XBN93/6yXaX6uBsi3TKnQRGE8o8aEMJU=; b=6NrmZXRPLdTEvLqS3ppSEX5eWHDYIGuQfgP+OmoRc9nX4bQYf6Jc+vK8VwVvGC0reW YpD083sS6XzF3mD2x3Q6yx2gLLg56RiTdTTPdvEEqediDTbdenAFJeHqICEDuv+/Zubj BfTtwNHZxFcf6gIxCZDN/jFFR4r5+FwNGUVP+XFPjhm6Zmlpr+meHkUGeJuPRNIBhB+s JQwHBvsiBFiv326bYrkQh5gYUXHzaPHc2q5Xlpo9YBG9E5oaD5qM+1DmA/8d/ZY8cTif 8X4bHgLpIL3sjvtJr81nb8eUzkA9Eq6E3D0TjA//coBqxuxn2wMKklIxCHk7zs3XGh5Y cCsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=7znmcaDRDi4XBN93/6yXaX6uBsi3TKnQRGE8o8aEMJU=; b=o3+5aPV0fmyVBU3t8S5iLy+hO9OITGEm0iYiBCmUxn+YCGtrnzm4G35LUzq08q3vI/ VEuirPFErx64qaVWsLms6F9F6NZ4zH6486b/83hN2Hm46mv/HQaeC6JbvaiNHSGT7YMR zKlNAADYNQiZNEiZNnxCDbZJYOj7xqQP3l7/nbhh2l/RvUjAjrE2qXAwNdvv7aI5wmC/ RV+FSUPxgsA93byU/KzqgYJYF1Bq3zDgwjDcGgDWMofAC6USTX8M24Ek/v+n7Yagl8wo ESfjEKRIVruylEmcFvCUx9ZozGpQw9I4Cs/iINT90orCAsHL3VCY8z5izox8jFiThTu5 E6RQ== X-Gm-Message-State: AOAM533umawTPyW+ggIwhxQfTVsJsJo8K2zpgGNXl/sScEElZ1E53rLt m4se5oX+8dZKZYLdl7CB/xrsGg== X-Received: by 2002:a1c:a7c2:: with SMTP id q185mr378882wme.3.1643064276529; Mon, 24 Jan 2022 14:44:36 -0800 (PST) Received: from localhost.localdomain (d.f.5.e.6.6.b.1.e.6.2.7.e.5.c.8.0.a.1.e.e.d.f.d.0.b.8.0.1.0.0.2.ip6.arpa. [2001:8b0:dfde:e1a0:8c5e:726e:1b66:e5fd]) by smtp.gmail.com with ESMTPSA id i3sm15010613wru.33.2022.01.24.14.44.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Jan 2022 14:44:36 -0800 (PST) From: Phillip Potter To: gregkh@linuxfoundation.org Cc: dan.carpenter@oracle.com, Larry.Finger@lwfinger.net, straube.linux@gmail.com, martin@kaiser.cx, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, paskripkin@gmail.com Subject: [PATCH 07/10] staging: r8188eu: remove DBG_88E call from include/usb_ops.h Date: Mon, 24 Jan 2022 22:44:12 +0000 Message-Id: <20220124224415.831-8-phil@philpotter.co.uk> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220124224415.831-1-phil@philpotter.co.uk> References: <20220124224415.831-1-phil@philpotter.co.uk> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove DBG_88E call from include/usb_ops.h, as it does not conform to kernel coding standards and is superfluous. This will allow the eventual removal of the DBG_88E macro itself. Signed-off-by: Phillip Potter --- drivers/staging/r8188eu/include/usb_ops.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/staging/r8188eu/include/usb_ops.h b/drivers/staging/r8188eu/include/usb_ops.h index 0a1155bbc7b8..2b1d50d2b2f2 100644 --- a/drivers/staging/r8188eu/include/usb_ops.h +++ b/drivers/staging/r8188eu/include/usb_ops.h @@ -30,11 +30,8 @@ static inline int rtw_inc_and_chk_continual_urb_error(struct dvobj_priv *dvobj) int ret = false; int value; value = atomic_inc_return(&dvobj->continual_urb_error); - if (value > MAX_CONTINUAL_URB_ERR) { - DBG_88E("[dvobj:%p][ERROR] continual_urb_error:%d > %d\n", - dvobj, value, MAX_CONTINUAL_URB_ERR); + if (value > MAX_CONTINUAL_URB_ERR) ret = true; - } return ret; } -- 2.34.1