From patchwork Fri Oct 21 01:41:09 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: 6623 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4242:0:0:0:0:0 with SMTP id s2csp621257wrr; Fri, 21 Oct 2022 03:41:05 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5Z8LeOOBgfT/zqCQ4JOSIZdCiA8KKcet5895/zwD0aZdQ2WLfa3QQ9nub5TVwnOx/2bw3/ X-Received: by 2002:a05:6402:51d1:b0:45d:b498:169 with SMTP id r17-20020a05640251d100b0045db4980169mr16899453edd.119.1666348865246; Fri, 21 Oct 2022 03:41:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666348865; cv=none; d=google.com; s=arc-20160816; b=x0dJPrws7pZXHpm2ZTp/bTzs2SeAKhPVg+Ls0XfBKBaiD4EFIozolEEss4OjKXwW5/ ndJ1GkD2qg4OgU9H837maDfQ5Suq1jEP7UTv5Tc7WQq405TV32he+POcYwy6QCQHjg0O iznjOapngIuz1eNsVKtXK0TytCbbWFogZ2VEHsaeF/lzjzC/6c625Ucs+r8CyzlreJkQ YygTo4yuDwDApyA943W0Vh3UA7CEzGnZFC4ROwE2KeLtHUQJL+LpZ5Ozj7yuGjjEpQcR hCVDDlTwCtt/D4LuB7jfVGW3vT7a7qSJGusKy3xJiVpaf6oXHbawmaCvY0K92YYH62Fl PcPA== 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=AY8Mx6+gbhd4/DSdnlmWpjwpYmnDixhZt0koYosLXWUUPZAfphw1uM6Wlu8Yq7XDw2 zWtx7xLro9V+o7RFIP4hUdczZrmBu0dNe2YFzomXckcAmHvS+li6uLA2PtJi6Sb+E7zK 2mv9tY9wKhjE8a3muISdIh/luDBaNHLIHwa3UhySx8aWRG6ZdYj2/vu2NhX1AoHMhTFZ islc3BjVDzJTtgJEkmo+hPr0rCiJ6R3G+KJakcdGmvkSGLpjCHMlmWQrIeQ78r6nWkjy rWCyOtZkJe8M6LwQoPIrYPgG/R9lQNXQVRGAAnnb8BTRryyMrFfFCfHR2KyuRq4CUv8z 55iA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mailo.com header.s=mailo header.b=BzSBsgDT; 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 ce6-20020a170906b24600b0078de51ec509si16639415ejb.686.2022.10.21.03.40.38; Fri, 21 Oct 2022 03:41:05 -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=BzSBsgDT; 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 S229621AbiJUK0p (ORCPT + 99 others); Fri, 21 Oct 2022 06:26:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43030 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229596AbiJUK0n (ORCPT ); Fri, 21 Oct 2022 06:26:43 -0400 Received: from msg-1.mailo.com (msg-1.mailo.com [213.182.54.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 50CDA2565E1 for ; Fri, 21 Oct 2022 03:26:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mailo.com; s=mailo; t=1666347993; bh=jtnn88d1QPB9a8mRoXuB6CbwtjfRDKBhxTxl4zKQrP4=; h=X-EA-Auth:Date:From:To:Subject:Message-ID:MIME-Version: Content-Type; b=BzSBsgDT30zjfP6R2EuL8b3gdFP1qhhaLHcg9y3wBZ1RI00OH20PakEIRb9aaenG9 b+YXEoHp73fySTRqo7g6v8ZXVUS44fHNFvMVh106p/EnSFMNR5p1y0XXHnCd+hTSyN 9m8cmUWbUMhndUOWtZhwzmMsyEx1vGrTzMLtffjA= Received: by b-2.in.mailobj.net [192.168.90.12] with ESMTP via [213.182.55.206] Fri, 21 Oct 2022 12:26:33 +0200 (CEST) X-EA-Auth: ss8y4ZETy7tcx9vO1Ln/+anMDba5bVR/sOeL39Dc5YErY5yvGs3dC+r3TSE9Bu1xSeXNNRZevV6D0IOs05Fde6piBT6ZS1L1 Date: Fri, 21 Oct 2022 07:11:09 +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?1747293427984077103?= 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; }