From patchwork Fri Oct 21 00:55:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Deepak R Varma X-Patchwork-Id: 6606 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4242:0:0:0:0:0 with SMTP id s2csp593257wrr; Fri, 21 Oct 2022 02:46:42 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4nMvsjJVE6ITM+VmF8qPxlzjwAGmWDo7fRlpPkYnq7iXAR6noaOkrcCUzi62CVWALrilp0 X-Received: by 2002:a65:4b85:0:b0:46e:c3bd:e499 with SMTP id t5-20020a654b85000000b0046ec3bde499mr797301pgq.21.1666345602647; Fri, 21 Oct 2022 02:46:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666345602; cv=none; d=google.com; s=arc-20160816; b=r0hP4PK86wiiQi59+iVoTNZjmt3dZegAORYsbjSRUB1sFufgG+CaX0M4wbAXodNRjp UmhomDnMyxXpefuva62hPdu9apHH/W9SIZ1C22ySahxJM2eIy+xF4WKZzI+v1ShIOqWO arGMg1AHvz+1V0+N2DkyQFAqmL/Oiu3qSQQfdJNfzfGurISaU/G0Ua7/MjYCI1dYc9oe fa+pCXZcbH+WWsFdWywY5AXAUNpcXd+kDF/1LY3lhu7y5zfytKj9VDHkFPH0GqgtRRLB Mj2kJW/HsdpKiZtxe7VZsfZYpDryZrLB0SIYgsD9zSt7/ewvC6tIYy5NiZmCz+b8i/9O e7hg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:to:from:date:dkim-signature; bh=NgyCtULkguqSFZaNHvDsbxROOm7IJ5tP8BO3DTm9b7c=; b=N8UDToZSkMTAHdWlPy9LuOcGn7IG5Ye3MuMykOdOEcBeS4jSHO9UhY1avKWHtddxcm bE5FS1l220bHByiNXQUKLuamkxPxclBpBvgRQCaCW9t7M1cCJRdcanFF/aU/nSv6OhqX QA8GhVkkFyaZ7L/3nf/7bVDO2TqGmZj1aRIvgdKgqLXbBFBuXrIQEgULrGZ8o4zc2hro 99hIClbgZkzYJc5+j3y9yUDm63WeJtJveX2glgY+VWINPWduaUQQJgd9QY2fPg1OI9tV f8jg6nGQrJeay5F8tiAeP6YVsREIgar8YlVHcKIJUaRIesNhpUfpVE6E2kjEjW88sA/A tirw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mailo.com header.s=mailo header.b=FRFrVxE7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mailo.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q5-20020a056a00084500b00560bdd654ffsi26532589pfk.314.2022.10.21.02.46.24; Fri, 21 Oct 2022 02:46:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=fail header.i=@mailo.com header.s=mailo header.b=FRFrVxE7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mailo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230285AbiJUJlY (ORCPT + 99 others); Fri, 21 Oct 2022 05:41:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59076 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230245AbiJUJlU (ORCPT ); Fri, 21 Oct 2022 05:41:20 -0400 Received: from msg-4.mailo.com (msg-4.mailo.com [213.182.54.15]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F2CEE257639 for ; Fri, 21 Oct 2022 02:41:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mailo.com; s=mailo; t=1666345269; bh=jtnn88d1QPB9a8mRoXuB6CbwtjfRDKBhxTxl4zKQrP4=; h=X-EA-Auth:Date:From:To:Subject:Message-ID:MIME-Version: Content-Type; b=FRFrVxE7XHRxPjtF1GrRr7n4TsVn9d/j5rhzivCKyoPmLCi0IjX3wbpf+zRwi2VOh JQOBsfgypRatcvopPF3C8fLGJrLPTe0KCKL7urdao+KPzTk8vjXKlBedafq0685/CE kZUe2R98PqfbIg6F5hQGmy1oAF4rQ614N55sWtBQ= Received: by b-4.in.mailobj.net [192.168.90.14] with ESMTP via [213.182.55.206] Fri, 21 Oct 2022 11:41:09 +0200 (CEST) X-EA-Auth: rw5nykgn+xMKPuPhJ/rS5iUTqE3zJwp/8bV+GcRUZWEFGcSDfH8bADyBkRFvgKYWkvJIAJM2hMeihb8KPXYkO9A7KAHGs6gc Date: Fri, 21 Oct 2022 06:25:44 +0530 From: Deepak R Varma To: outreachy@lists.linux.dev, Greg Kroah-Hartman , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH] staging: wlan-ng: remove commented debug printk messages Message-ID: MIME-Version: 1.0 Content-Disposition: inline X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_00,DATE_IN_PAST_06_12, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no 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-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747290006825624334?= X-GMAIL-MSGID: =?utf-8?q?1747290006825624334?= printk messages are added for program flow tracing and are left commented. These commented log messages should be removed as they are no more useful for program execution. Signed-off-by: Deepak R Varma --- drivers/staging/wlan-ng/p80211netdev.c | 22 ---------------------- 1 file changed, 22 deletions(-) -- 2.30.2 diff --git a/drivers/staging/wlan-ng/p80211netdev.c b/drivers/staging/wlan-ng/p80211netdev.c index e04fc666d218..6bef419e8ad0 100644 --- a/drivers/staging/wlan-ng/p80211netdev.c +++ b/drivers/staging/wlan-ng/p80211netdev.c @@ -881,55 +881,42 @@ static int p80211_rx_typedrop(struct wlandevice *wlandev, u16 fc) wlandev->rx.mgmt++; switch (fstype) { case WLAN_FSTYPE_ASSOCREQ: - /* printk("assocreq"); */ wlandev->rx.assocreq++; break; case WLAN_FSTYPE_ASSOCRESP: - /* printk("assocresp"); */ wlandev->rx.assocresp++; break; case WLAN_FSTYPE_REASSOCREQ: - /* printk("reassocreq"); */ wlandev->rx.reassocreq++; break; case WLAN_FSTYPE_REASSOCRESP: - /* printk("reassocresp"); */ wlandev->rx.reassocresp++; break; case WLAN_FSTYPE_PROBEREQ: - /* printk("probereq"); */ wlandev->rx.probereq++; break; case WLAN_FSTYPE_PROBERESP: - /* printk("proberesp"); */ wlandev->rx.proberesp++; break; case WLAN_FSTYPE_BEACON: - /* printk("beacon"); */ wlandev->rx.beacon++; break; case WLAN_FSTYPE_ATIM: - /* printk("atim"); */ wlandev->rx.atim++; break; case WLAN_FSTYPE_DISASSOC: - /* printk("disassoc"); */ wlandev->rx.disassoc++; break; case WLAN_FSTYPE_AUTHEN: - /* printk("authen"); */ wlandev->rx.authen++; break; case WLAN_FSTYPE_DEAUTHEN: - /* printk("deauthen"); */ wlandev->rx.deauthen++; break; default: - /* printk("unknown"); */ wlandev->rx.mgmt_unknown++; break; } - /* printk("\n"); */ drop = 2; break; @@ -943,35 +930,27 @@ static int p80211_rx_typedrop(struct wlandevice *wlandev, u16 fc) wlandev->rx.ctl++; switch (fstype) { case WLAN_FSTYPE_PSPOLL: - /* printk("pspoll"); */ wlandev->rx.pspoll++; break; case WLAN_FSTYPE_RTS: - /* printk("rts"); */ wlandev->rx.rts++; break; case WLAN_FSTYPE_CTS: - /* printk("cts"); */ wlandev->rx.cts++; break; case WLAN_FSTYPE_ACK: - /* printk("ack"); */ wlandev->rx.ack++; break; case WLAN_FSTYPE_CFEND: - /* printk("cfend"); */ wlandev->rx.cfend++; break; case WLAN_FSTYPE_CFENDCFACK: - /* printk("cfendcfack"); */ wlandev->rx.cfendcfack++; break; default: - /* printk("unknown"); */ wlandev->rx.ctl_unknown++; break; } - /* printk("\n"); */ drop = 2; break; @@ -1007,7 +986,6 @@ static int p80211_rx_typedrop(struct wlandevice *wlandev, u16 fc) wlandev->rx.cfack_cfpoll++; break; default: - /* printk("unknown"); */ wlandev->rx.data_unknown++; break; }