From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f53.google.com (mail-wr1-f53.google.com [209.85.221.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id ED39F3FE1 for ; Mon, 24 Jan 2022 22:50:59 +0000 (UTC) Received: by mail-wr1-f53.google.com with SMTP id e8so14610122wrc.0 for ; Mon, 24 Jan 2022 14:50:59 -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=6DO4nXHchhCvgjCRpbkrgSp5frcqUELpkRUUQsgnkesj5Wmqc9SuhnN+yGaZlTvbXJ IlmQPqnVrAeCOjSEUbNAfMVXlmHM7MHipn7XYaJB2+go68HCCdToD786bdr5uMAJOBz8 XKD2D6aqSLDPg5VwsDb5k8xartnO5rpZ9ytw3JdRtYdja208Fbifdd+sbYH5c0Y166IG /BcvcWK0HlJ523qKCf/iW6Cn62PAFFk/jocuJFJf8QcHg9ZQG4bGeCPcstHeX0ydzs3q hdUCH3dP53D2sQG7Sk3HFA9Tk+CM5+Uiw5YzF/VYc1SNUVPBmJyvAnoCme6ULGYxLF1Z kF4A== 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=W3tk3WP5mezkF29u3azkLGkuN7/S/Zbl1mgbRNv2Ud9Xtr2e9XXU9ZHAiRA4UhOGfm Ywg51rX0OOFth76iAD9rgXnsJjlNIHVj/JGLSwpQvpsxaMW9q0WPTHWmbEC3JC8uugUJ wc6I35B+gBcsCArk4JkKoDlQo9nDqA7RxvZiTPttbgM8KzBM51RDTRhIPQ8l/hM7YcBF pv1RRapTzr8L4DQryiMqJy9Jvu/zM+hTW+QyikByHhG+HiC+CaaXcZOMafirduNzJc9d 7HcyF8SFO3mDC3Yfbr7vk1Xmf5S4qjn2a9rCck8SWI+nfYC7rgOMPSPKGRjSJntTq5mw K/zw== X-Gm-Message-State: AOAM532ySIjXU4gAgscz2ymyjo29TaDFRJ2laML4f9xQdf4p5rZfbVxr Cf3WYf/jkFg3mGGNyfqinfe2Bw== X-Google-Smtp-Source: ABdhPJyOG+c8hVdoltTy1ChegKNUZg/YNx5nJQ+YtRVp4Be9O4ytvSSxKYeEXuMFzy6I6Un5lsvvaw== X-Received: by 2002:adf:dec1:: with SMTP id i1mr15005227wrn.69.1643064658384; Mon, 24 Jan 2022 14:50:58 -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 g189sm624742wme.18.2022.01.24.14.50.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Jan 2022 14:50:57 -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:50:29 +0000 Message-Id: <20220124225032.860-8-phil@philpotter.co.uk> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220124225032.860-1-phil@philpotter.co.uk> References: <20220124225032.860-1-phil@philpotter.co.uk> Precedence: bulk X-Mailing-List: linux-staging@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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