From patchwork Fri Aug 14 11:39:32 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 247706 Delivered-To: patch@linaro.org Received: by 2002:a92:cc90:0:0:0:0:0 with SMTP id x16csp293203ilo; Fri, 14 Aug 2020 04:40:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwSO1KIIn3dQX9YGU3E4TtaLRPS9eR+hAhmx6AxGX7FQnPPsc6p40CS8ZmAgVZPFwgoAimv X-Received: by 2002:a05:6402:1cb3:: with SMTP id cz19mr1717447edb.299.1597405237219; Fri, 14 Aug 2020 04:40:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597405237; cv=none; d=google.com; s=arc-20160816; b=Z5ByHgxN4cepnWZTImPaHb/1BD/QLExb4ykRNkAWrRHppX2x1mbSLiy4Jj1lb2LaYT I0YnaGBSYkIxxVZV5Bk9oLQJV3MUP5TvJjsqNsuUwSZaN0dp+bi09vbo0fFL8kVEbAkX Eavri12WibUN3YL4ahsSaYjHsILsROEOEDKjUNPekPLM4Dn+LJHh+Hd+E6p0pCaPE6Nt zoJRz4KeWvyfsFnBtWa4FGzZ1njCQSzVBb9Vsl4N350bLsJRevQvnbaR1U453tPok99f mrx3eI/CG0TVhtloSyidGBMOKE3O7dUxXQ6TZruUnP9vJgCtYZlAfrJF6ifjey2pD9bf NxQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=jf/h0xGTx4mpZcVBL2eVQ18732vxKkSbgbH3BUucf5M=; b=p0UZhrYvfFgh5quZ0pFis54AEW9IU1WX6oVnWw/9VLyGgohub1BjgISAOOBrmUHJUn McPXePkFeL5fi/XMS7LLG76LNJpzImabJ1snuORZqjIR+3XfcAlnO7rhh1YqNTf0izwh 7QN5msHxWV4f5mkye7IyT0kkbO7EwOh/4KrV4OXiiVMcCuJ5wtGYoqBiv3IvbKu46e1i rTI3Sy/jwsIWe9K965jr+gSMgInCMBS6IeXbyjax9H1TJQQja7tMQHMw0KbxEoKZ6xMX s920fkomcR44VUEtdKPrMetkTLMQjWlHbh+xDXtd1Glj8V9WQcDJcIOlLaHlpI+VH7UK 7KGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cy7nHqzI; spf=pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=netdev-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l13si4979068edq.209.2020.08.14.04.40.36; Fri, 14 Aug 2020 04:40:37 -0700 (PDT) Received-SPF: pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cy7nHqzI; spf=pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=netdev-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728281AbgHNLkf (ORCPT + 9 others); Fri, 14 Aug 2020 07:40:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39822 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728250AbgHNLk1 (ORCPT ); Fri, 14 Aug 2020 07:40:27 -0400 Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2D5F3C061386 for ; Fri, 14 Aug 2020 04:40:26 -0700 (PDT) Received: by mail-wr1-x444.google.com with SMTP id r2so8075854wrs.8 for ; Fri, 14 Aug 2020 04:40:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=jf/h0xGTx4mpZcVBL2eVQ18732vxKkSbgbH3BUucf5M=; b=cy7nHqzIvq0wnNuENxd5Y9IJY69qjarY/BmFqukoFAcDqsWc+en9MQgxUT2RtCUHBq ACbrCgua82jSK9AkVyMdXbs4qjdXH8yrvTVxm2hVWVtU27SeKr7epWd6N0I4MhVpa1X3 8pOqzGd5rm8rZoqHy2PYUWi1fGK5THyhalMgVwSZwQO15p86Eo0efiKHDpvV8V7BTMo5 P1G6HbbdwfWBtqNzTjmc/Tl2k4BjqQrMVFtSweOieoe29nVoYUcGOaqxskLPCJ609ylV x6hZzedmfaXM8fA2c44FyCnESqqyrA/v/ybo5i/UhBjuavSk8sGCfrJ5U2KCoE93yt+A lqUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=jf/h0xGTx4mpZcVBL2eVQ18732vxKkSbgbH3BUucf5M=; b=hOnlbz5pDU78eRSKTNtzegr5BKO8Q9EJvrp2KJIcWLNM1i5NBPDaTMD7KJFrnOYuwn WZe6a/G5Rfl3jtRaOqf/G57mORsQwvqfrBu+YdZySEG7nA/2ne/qFqYYzJWSv7lR70Hw YtSmHspA9k7lkAOZvJmDX+OxWnEFJd3U8E53legpQgY3qsTgfuw/GOEq7CP7OvUpl3dj 7/x2Ok8BD09u7YAocbKkAosXhu/p4fUV2Kap8S0w7D6Jc4Bga0eQ05V/q6QuBYzaIHda xS/ggSTJOUe9NxKa6oSPDiS9ezVKVmVNmY1fSL/x09YeZGJs+c5SQt8+An/q7DLfThLb rcxQ== X-Gm-Message-State: AOAM533/io6GOrJc32FNRdoVJ+WUB4sd50qB8x7PtErprHj4jy+sVlg8 gB7BaENpSo4jS35MNSLLmWKDow== X-Received: by 2002:adf:82d5:: with SMTP id 79mr2306897wrc.282.1597405224944; Fri, 14 Aug 2020 04:40:24 -0700 (PDT) Received: from dell.default ([95.149.164.62]) by smtp.gmail.com with ESMTPSA id 32sm16409129wrh.18.2020.08.14.04.40.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Aug 2020 04:40:24 -0700 (PDT) From: Lee Jones To: davem@davemloft.net, kuba@kernel.org Cc: linux-kernel@vger.kernel.org, Lee Jones , netdev@vger.kernel.org Subject: [PATCH 29/30] net: fddi: skfp: cfm: Remove seemingly unused variable 'ID_sccs' Date: Fri, 14 Aug 2020 12:39:32 +0100 Message-Id: <20200814113933.1903438-30-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200814113933.1903438-1-lee.jones@linaro.org> References: <20200814113933.1903438-1-lee.jones@linaro.org> MIME-Version: 1.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org This variable is present in many source files and has not been used anywhere (at least internally) since it was introduced. Fixes the following W=1 kernel build warning(s): drivers/net/fddi/skfp/cfm.c: In function ‘cfm’: drivers/net/fddi/skfp/cfm.c:211:6: warning: variable ‘oldstate’ set but not used [-Wunused-but-set-variable] drivers/net/fddi/skfp/cfm.c:40:19: warning: ‘ID_sccs’ defined but not used [-Wunused-const-variable=] Cc: "David S. Miller" Cc: Jakub Kicinski Cc: Lee Jones Cc: netdev@vger.kernel.org Signed-off-by: Lee Jones --- drivers/net/fddi/skfp/cfm.c | 4 ---- 1 file changed, 4 deletions(-) -- 2.25.1 diff --git a/drivers/net/fddi/skfp/cfm.c b/drivers/net/fddi/skfp/cfm.c index 668b1d7be6e23..4eea3408034be 100644 --- a/drivers/net/fddi/skfp/cfm.c +++ b/drivers/net/fddi/skfp/cfm.c @@ -36,10 +36,6 @@ #define KERNEL #include "h/smtstate.h" -#ifndef lint -static const char ID_sccs[] = "@(#)cfm.c 2.18 98/10/06 (C) SK " ; -#endif - /* * FSM Macros */