Received: by 10.223.185.116 with SMTP id b49csp3580811wrg; Tue, 6 Mar 2018 01:14:28 -0800 (PST) X-Google-Smtp-Source: AG47ELvB8/6qQ6jHBQlhAByMtXe9MvruC1NjhvHNGq6j71xdLWZZjEjdYwx0mwBdpGWkIG/r6zQY X-Received: by 2002:a17:902:8501:: with SMTP id bj1-v6mr16499279plb.110.1520327668325; Tue, 06 Mar 2018 01:14:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520327668; cv=none; d=google.com; s=arc-20160816; b=cOQm8dRBHMkVrQp6SR5QkcTi5td3bryFSeFgvZLf6ydqBGt9Ati8wAET5pcYJl1jSD xgcs8r/6WcjQKZ5O9ye3484twuWLninaTxPvqamugn3s7qIJktW6xpLwulXEx6tuuBP6 Rh8XK65UmaQHofDKDx7gzsTZg0kZApLM3PnWohFFMDkkgYjTDnH4kMHDrLILlHIe92yg 6u6CzxSebZ/39HwzrELLKUAHNaQNxUI3vBHZT+SJ3dUvVkBJWfjVRAnESEtToa8HcpUO Lhx0ehK03LniE3MahSTD7k8R7sTEIVnypYnSvfSfK85Hk70QMinEDp7O3C6IFIE45fct DEKQ== 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 :message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=a0/vF64vAyAs/wxPNP9Nt/STG2EIcOu+zk8ER0A0WEQ=; b=vV1jW6k0NG0i227oBU0ZFvEYVMd/TwLRRhEy61ikPUlYQCUKPqGtymq9+3pgr7XiXb BkBjY2IVoB7iA6Dd7sRf/m5W2mJMDDJl5JNmnw1f1lIfSjwpdWAEtBvIGLu8PQMc/c4V fAf+pTdO/fKhhV9bUhFcc5zCEm4PKvg6mlAg4tN5mHOthV7MEoY3ty2l2JteWd9hOpH/ Q5lNBq9964opFKY6nh6WZZrVzV94LYJsWvrwXkMyQ9Lqf9OQ8nXDCdIhl21R5jtVHdln jY5OMtxDGGDJhFjhzVxdVTa3dF//99Bz4+rj0ibZkQy/ThvU3f5qNh422I8U3hvmVc5t gWzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ULnVG0ER; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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. [209.132.180.67]) by mx.google.com with ESMTP id g9si9987255pfi.310.2018.03.06.01.14.13; Tue, 06 Mar 2018 01:14:28 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ULnVG0ER; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 S1753322AbeCFJMA (ORCPT + 99 others); Tue, 6 Mar 2018 04:12:00 -0500 Received: from mail-lf0-f65.google.com ([209.85.215.65]:42857 "EHLO mail-lf0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750859AbeCFJL6 (ORCPT ); Tue, 6 Mar 2018 04:11:58 -0500 Received: by mail-lf0-f65.google.com with SMTP id t204so27323418lff.9 for ; Tue, 06 Mar 2018 01:11:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=a0/vF64vAyAs/wxPNP9Nt/STG2EIcOu+zk8ER0A0WEQ=; b=ULnVG0ERuoN9b0KglqYCv0p1RlyxSukz9XJB14VhlzmqlR17VmBs6tpHFw4LFhq1pv KRdObg7vsoNRptG9UQGAiIRnCutbrM95AkARtEGrO/ZJcs7ErLdX0VABOQn+421V0yH5 JooVT7347MT9occbq0Q7ZRaYTpAEAZA/0dFEk= 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:mime-version :content-transfer-encoding; bh=a0/vF64vAyAs/wxPNP9Nt/STG2EIcOu+zk8ER0A0WEQ=; b=QaHnl19ZmuZih5AldIrOeLjW02UnKDWR1oysKPzxsy1X7cKqSRpmyPT/KUzLgslxCk Pv9Q1LFMncEltT/7V+JIHrIraQN+o0jnMmsFBdHjIksu40f63rk2JbmRTo3cw0MeeZJT BN+J57PkwG9NugVDE7uvjazJxaznJxwakn6KWSXY2tRfhaL6QtilFwym4sUlQJSFAzbd h2etkSAtLm5VLYKJtCvodzkLJ5wIoXK64RrlzMWxLCLc+U650ZsMEgASn/LvegcZuEmo ZK9ceeyiiZ4JHkoN/C0noGLb8CeYJ/lUEYNwOBvbrgVjAZJHzJOlo84rrZKGY1C1Vl3t fQsg== X-Gm-Message-State: AElRT7GKVOzEYjeOT2RUeka3KsgGVIj5PPHZ1+9DiTV4FOtyxo6yX5AS sgQl6uU26oWZ/b3q5E8E0O9s+g== X-Received: by 10.25.18.73 with SMTP id h70mr11923940lfi.72.1520327516784; Tue, 06 Mar 2018 01:11:56 -0800 (PST) Received: from localhost (c-2c3d70d5.07-21-73746f28.cust.bredbandsbolaget.se. [213.112.61.44]) by smtp.gmail.com with ESMTPSA id b27sm3065738ljb.84.2018.03.06.01.11.55 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 06 Mar 2018 01:11:55 -0800 (PST) From: Anders Roxell To: Roy.Pledge@nxp.com, gregkh@linuxfoundation.org Cc: linux-kernel@vger.kernel.org, devel@driverdev.osuosl.org, Anders Roxell Subject: [PATCH] staging: fsl-mc/dpio: remove unused function Date: Tue, 6 Mar 2018 10:11:50 +0100 Message-Id: <20180306091150.24463-1-anders.roxell@linaro.org> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org gcc warns that function 'qbman_pull_desc_set_token' is not used. drivers/staging/fsl-mc/bus/dpio/qbman-portal.c:525:13: warning: ‘qbman_pull_desc_set_token’ defined but not used [-Wunused-function] In the current code we remove that function. Fixes: 321eecb06bfb ("bus: fsl-mc: dpio: add QBMan portal APIs for DPAA2") Signed-off-by: Anders Roxell --- drivers/staging/fsl-mc/bus/dpio/qbman-portal.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/staging/fsl-mc/bus/dpio/qbman-portal.c b/drivers/staging/fsl-mc/bus/dpio/qbman-portal.c index 7b75c934b201..3522b9c0106b 100644 --- a/drivers/staging/fsl-mc/bus/dpio/qbman-portal.c +++ b/drivers/staging/fsl-mc/bus/dpio/qbman-portal.c @@ -522,11 +522,6 @@ void qbman_pull_desc_set_numframes(struct qbman_pull_desc *d, u8 numframes) d->numf = numframes - 1; } -static void qbman_pull_desc_set_token(struct qbman_pull_desc *d, u8 token) -{ - d->tok = token; -} - /* * Exactly one of the following descriptor "actions" should be set. (Calling any * one of these will replace the effect of any prior call to one of these.) -- 2.11.0