From patchwork Fri Oct 21 01:45:24 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: 6624 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4242:0:0:0:0:0 with SMTP id s2csp621661wrr; Fri, 21 Oct 2022 03:41:46 -0700 (PDT) X-Google-Smtp-Source: AMsMyM68beYB9xnHNjKGI5PtrGO+f3hUWpE0OSEO0OTg2193UwARvOUt4OBx/gc4WV7WSGSqaC0e X-Received: by 2002:a63:6b88:0:b0:46a:ff3c:b64a with SMTP id g130-20020a636b88000000b0046aff3cb64amr15656814pgc.196.1666348906020; Fri, 21 Oct 2022 03:41:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666348906; cv=none; d=google.com; s=arc-20160816; b=Q8JWjOKmnRRT71Bdesw/XCLPw247+84RAbl2+QaWrhDKxurO3B78y/JTIdsUvEa346 JVUoi5SeTr3A/Fx/xaEBNqWr90eB3MqdzLlI/v9qMYWQjOYzV0b/tWBwcwl7vKAeiKWs SdSjLWj/QOEjHz3alOtqdboenJlx5MhaxEBhv3mQW+4DAymu3ATJWqxnmjYixUHxb9rP BUrt7IswUE39VYcw1nR/wU/2XAjw6Hpz94+YpPKldSYyh8hf1Ev4GURuGzGeir/HKFYr T10EmSwJL+wupE2M2H9PozQkyMwnrk+nmYllJAY1/TMnc7Lt2AZxLO2iFYINvqTsSWrM vaug== 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=cUGbqMfXScJrmjjiMOweAr84UldCfT2B0Bz8JS9kn1TmKpgZf7UO1udC7ivLqHR6x8 Rf0AQsrAQnZMePKJGhX8AXBO6YFTCIoaJG0YoGCXHSkiccYYPgGyb3UC3W1+86N6yd5V v8GgixUSXvLBBzz3QjC0xlNHjrq0Kfavk/zvj23iBcRwCoOeX1pvsHEJzcEduu+CccgL YuVnK6jU+10fcxVL/odJ7r9lemtMn61GVk3SJ34qN+sGjReVgAiVjH2Mrci65GTH3cM2 4S0oZcQtpJ7NOszU7QpzMRI7+8agW40iwvJAbF8DetnV5ZdbZGTPsu6KqzWtp6Zgp9Vh rG6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mailo.com header.s=mailo header.b=HeLbNfrF; 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 m5-20020a170902768500b001755f43df36si21515855pll.479.2022.10.21.03.41.30; Fri, 21 Oct 2022 03:41:45 -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=HeLbNfrF; 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 S230217AbiJUKa7 (ORCPT + 99 others); Fri, 21 Oct 2022 06:30:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54758 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230157AbiJUKa4 (ORCPT ); Fri, 21 Oct 2022 06:30:56 -0400 Received: from msg-4.mailo.com (msg-4.mailo.com [213.182.54.15]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1EC151C25F0 for ; Fri, 21 Oct 2022 03:30:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mailo.com; s=mailo; t=1666348248; bh=jtnn88d1QPB9a8mRoXuB6CbwtjfRDKBhxTxl4zKQrP4=; h=X-EA-Auth:Date:From:To:Subject:Message-ID:MIME-Version: Content-Type; b=HeLbNfrFAqlt4VrX/p16fHl0VxuqpFPrzI4F4XAnYpC4U7fa3w32DZYt2OGnTpabU 68tFio7t55EcbVF9qv5TBW5d5zN2LiMz/E9QDMNTvxFg3ExBRJ5J3DJF3o7j019ZKh 9tkb1D+trVoHLdmj8lwd1oSb+I/6aJ8LAA4KWG6I= Received: by b-6.in.mailobj.net [192.168.90.16] with ESMTP via [213.182.55.206] Fri, 21 Oct 2022 12:30:48 +0200 (CEST) X-EA-Auth: XTE0cHlHiFPu0Grh051zZPg/T10f6Lv7jpO0dfQPpzSSA5nlFWt/T6Q08N+I8jkXf48XFgOrLbVKAmCewc5zNb7NJ5jgj0bW Date: Fri, 21 Oct 2022 07:15:24 +0530 From: Deepak R Varma To: outreachy@lists.linux.dev, gregkh@linuxfoundation.org, 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?1747293470854353481?= 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; }