Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp868174rdg; Fri, 13 Oct 2023 03:50:41 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFfjSvyX4GXz/+VPBeOn34XTixKZgKHHaspaViVJ9WQHKbWH4EvoPqWoxX3WvN1vWizg4ru X-Received: by 2002:a05:6a20:441c:b0:12f:c0c1:d70 with SMTP id ce28-20020a056a20441c00b0012fc0c10d70mr28143013pzb.40.1697194241302; Fri, 13 Oct 2023 03:50:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697194241; cv=none; d=google.com; s=arc-20160816; b=JjpuCc3fOz2XPqt8JiB+H5RnT9ot30VgrMnJdPmEOjBjjEe/AJnt7Qw/G8evMotWbG rXxc3vctkTeLhnyGaTNYQvLPU7SDjnR2IdZA2xQwNgyV92EA7gFg4aW08u1ZTJ+QeGVS UuB4RaPIGrJ4zu7vGtUwcvcCauZpLVIiTV22u/iLQbC1bZyZj5f8eOg6LmQ+qF00P1f9 /xurVN6pxwECk6mlDlrfCmFdf6ViBR+sUGxwMsG3G40pbFfgJgpP/o8BG5YPfp9FH4ad d6sv5BO4iCKnofZH1IREMF5/gSrHFz5uZ6CjZWuXwBB0CoOWq/Ry4+oCH1BM7TJ8He24 2L/Q== 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:cc:to:from:date:dkim-signature; bh=IzdTvuk9Hpz7O7qnXQ4bc4hZomimkE/Cg90sCGqX5lA=; fh=nGLMTMRLxTn+amOEWRy0k9ZhwiE+Ja/qghQ1xIi9ljM=; b=j5Vp4TZl4g/j6RRFrWr+XZa6gsdCtwUTNzNhbdM9muKZcvzl65YS/QDbOxVsoP5Ef6 1KfSBSGvPq+xuW566+TLqYUKtFvZBgk2vN67l4rFJenzWwbxUs1TfKzoZCmtZkohDXtM XNQ1ueHmGo5eNnGeeskcpXs7bx0t9R0O5nPmq7Oc7C8VJ8TUuROPYJYHG37rX9MZD2eL zBg0Ye3/pPcxjw5X1Q/xVmAENwoxlfnMB4vcVi2HVE3ZR0nOI5MGT/qTLx5I4uALx6/w E+ba1Ovlt/Bs99GKc9QBfx9CwDzcdyEbXvpMfMJKSZIflXhJG5Cl/yOgSA5zu/2XbXBk XtrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=SS6qgNAS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id ja2-20020a170902efc200b001b5589848absi4042717plb.234.2023.10.13.03.50.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Oct 2023 03:50:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=SS6qgNAS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id D30128325181; Fri, 13 Oct 2023 03:50:38 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230323AbjJMKub (ORCPT + 99 others); Fri, 13 Oct 2023 06:50:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54262 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230250AbjJMKua (ORCPT ); Fri, 13 Oct 2023 06:50:30 -0400 Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 21DC883 for ; Fri, 13 Oct 2023 03:50:28 -0700 (PDT) Received: by mail-wr1-x42b.google.com with SMTP id ffacd0b85a97d-325e9cd483eso1881652f8f.2 for ; Fri, 13 Oct 2023 03:50:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697194226; x=1697799026; darn=vger.kernel.org; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=IzdTvuk9Hpz7O7qnXQ4bc4hZomimkE/Cg90sCGqX5lA=; b=SS6qgNAS3+mRnOA3HzwBO2KL0ttcxYXPFqbglvYLiQWEP1MMoFaaUN6Af+FRITAELz CxA6hezY5JZsB9Z2ocCLm/UINZlyvv7VyAvk1c5pnlQh76V5hdaTRFlDCO+wNhtcTET2 5LCERvHUu82c8kzPLCIdU5+b8dG+vxa95j0nVOsWrfbsmArxh0ooW9ENBqMfe6fRNrag JOqjbkn3YmA2r+Tcte88BkpUv5dCGJn0ajRzrU0gL+tjfw5qqPSyni/yOSirns+TorrC dbYNfKUOPo5uwf1VzFOabdlg6WWNwQvknlbj2COMHUvL3e7uAxMJDGoGAswctxo7Pfzc vAMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697194226; x=1697799026; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=IzdTvuk9Hpz7O7qnXQ4bc4hZomimkE/Cg90sCGqX5lA=; b=lvrksE8/1bIfdIM3rsD2TlegBAauRiRZ63R7oViQGGZUUC0aEU2eXcq8YQqDVlReZ4 60pvdz0aUvPMYZ7LMU9Qbsjb8BwKRPK39ACiObCDCL/y/k0ywGM0ozh/pSJ382QfLs4v vf0P3E3kQxYT1NZjNT88UyK1MrxBfXRY2QKEeWlnAsLm2o547R8zLjJagnPtGY9pwkel TM+5g0inym9BhNapxTQORapeuzWurjw69sZ2Ab1WBWMP0H4JLrnialH0vSJ1e0NypwSe MBuhNlncc0zWqPQTEGFmjS/BbtoWDSW1HEhlBqFKJ0Jm8rSZ107HylD51wN5eNfQiT+n NFCw== X-Gm-Message-State: AOJu0YyNCad7p0VeaxGWe4EZjsCxXMXFJr8yD6M0DijKlDw3qW3+ve/N O951Ex4yQW9NMVbe+myeJN8qthKc7E85kg+f X-Received: by 2002:a05:6000:109:b0:320:9e2:b3a2 with SMTP id o9-20020a056000010900b0032009e2b3a2mr23669871wrx.33.1697194226107; Fri, 13 Oct 2023 03:50:26 -0700 (PDT) Received: from lab-ubuntu ([41.90.69.21]) by smtp.gmail.com with ESMTPSA id p4-20020a5d68c4000000b003232f167df5sm20520851wrw.108.2023.10.13.03.50.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Oct 2023 03:50:25 -0700 (PDT) Date: Fri, 13 Oct 2023 13:50:23 +0300 From: Calvince Otieno To: outreachy@lists.linux.dev, linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , Luke Koch , Bagas Sanjaya , Simon Horman , Calvince Otieno , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH v2] staging: wlan-ng: remove helper function prism2sta_inf_handover() Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=0.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,HK_RANDOM_FROM,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Fri, 13 Oct 2023 03:50:39 -0700 (PDT) prism2sta_inf_handover() function basically calls pr_debug() to print a literal string. This can be done by the parent function directly. Signed-off-by: Calvince Otieno --- Patch version v2: - Replace pr_debug() utility function with the module specific netdev_dbg() drivers/staging/wlan-ng/prism2sta.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/wlan-ng/prism2sta.c b/drivers/staging/wlan-ng/prism2sta.c index caeceb89c9fa..cf07cf04e20c 100644 --- a/drivers/staging/wlan-ng/prism2sta.c +++ b/drivers/staging/wlan-ng/prism2sta.c @@ -1697,7 +1697,8 @@ void prism2sta_ev_info(struct wlandevice *wlandev, /* Dispatch */ switch (inf->infotype) { case HFA384x_IT_HANDOVERADDR: - pr_debug("received infoframe:HANDOVER (unhandled)\n"); + netdev_dbg(wlandev->netdev, + "received infoframe:HANDOVER (unhandled)\n"); break; case HFA384x_IT_COMMTALLIES: prism2sta_inf_tallies(wlandev, inf); -- Calvince Otieno