From patchwork Thu Feb 16 19:57:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johannes Berg X-Patchwork-Id: 13143692 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 399CAC61DA4 for ; Thu, 16 Feb 2023 19:58:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229602AbjBPT6E (ORCPT ); Thu, 16 Feb 2023 14:58:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56380 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229637AbjBPT6D (ORCPT ); Thu, 16 Feb 2023 14:58:03 -0500 Received: from sipsolutions.net (s3.sipsolutions.net [IPv6:2a01:4f8:191:4433::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2B2C03B233 for ; Thu, 16 Feb 2023 11:58:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sipsolutions.net; s=mail; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Content-Type:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-To:Resent-Cc: Resent-Message-ID:In-Reply-To:References; bh=KHs2AeR1yP7T6fcAppFJZ2Re/SmHPZ4f4BskqUk80TM=; t=1676577481; x=1677787081; b=hiR2j8OnQCzpWtLrvMazm3Fw98m+Tl1GkNzfp/+NtyZ9VbHTFLA7aa4EPCCxOXtUbEZHEveKQ8d R172F3Gazo3lG4xRUYzBsA5O4vykOLod1yvB+0iNqFqHXbCzrOVsFJfYWUnBnodmn28K+HIHpN5ia H4JnJqB0SULQLKS9HKVcGzoQWPbPuFkwIoXvjV651P/wQxT5cwVhObu6ndU7W4JxUgI3zYA+Rc1mD NgbiUkX3TkcKvWGsC3FjPLwiJ6nt9RbAU4OJnCWqnCFcPOc7Vs+wziWF48HnRUIVGc7groXvfQPur gzmXTFhMQt0p4H4bPSoTkB+PzV7MAD4suyAA==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.96) (envelope-from ) id 1pSkOC-00EBGe-2l; Thu, 16 Feb 2023 20:57:56 +0100 From: Johannes Berg To: linux-wireless@vger.kernel.org Cc: Johannes Berg Subject: [PATCH] wifi: iwlwifi: mvm: remove unused iwl_dbgfs_is_match() Date: Thu, 16 Feb 2023 20:57:54 +0100 Message-Id: <20230216205754.d500dcc2e90c.Id87df297263f86b5bba002f7cbb387abc13adf53@changeid> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org From: Johannes Berg This inline function is unused, remove it. Signed-off-by: Johannes Berg --- drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c b/drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c index 78d8b37eb71a..3779ac040ba0 100644 --- a/drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c +++ b/drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c @@ -438,13 +438,6 @@ static ssize_t iwl_dbgfs_bf_params_read(struct file *file, return simple_read_from_buffer(user_buf, count, ppos, buf, pos); } -static inline char *iwl_dbgfs_is_match(char *name, char *buf) -{ - int len = strlen(name); - - return !strncmp(name, buf, len) ? buf + len : NULL; -} - static ssize_t iwl_dbgfs_os_device_timediff_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos)