From patchwork Tue Mar 6 09:11:50 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Anders Roxell X-Patchwork-Id: 130752 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp3702038lja; Tue, 6 Mar 2018 01:12:06 -0800 (PST) X-Google-Smtp-Source: AG47ELtTwYB44JUe2o+rK5ZrR8YxfeC3sKQZAkK6Mx5YSF+dAQtCdLJVZnKuqxd34P8ofaagvm2R X-Received: by 10.99.185.7 with SMTP id z7mr14989975pge.123.1520327526781; Tue, 06 Mar 2018 01:12:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520327526; cv=none; d=google.com; s=arc-20160816; b=pDkFfj5GdW1OAU1tjUyD7RYpNdTrghvQbIK+hgTxqKch4AEPwNTBDElW5UHHeTvcwJ HXRckZsu2ZOXjeSYdFref12rFtKpYMY6xt43ZrpJKFFZzmoS86BuFw2pqxJqa2/i8RkE F2IyiFWLxArbcyXzKjkGDnPRgh1ArRFQWOxUXPLPZ04nP/uqDLVUQvNnINuChfgMLCJz S3WojgatLdbD/k1Q8KwA6YkUxwCjmBnvq4gGF6pCujgUUh+kY81A/dcbDBhQxYo8v2W9 MDUuV/Xun6P9bPftf3RQVrqP5zDHP7Z3r7D4cHSrBYrwfNU5x7muaiRT0tEyqq+jB3cH CFiA== 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 w10si9610835pgc.282.2018.03.06.01.12.06; Tue, 06 Mar 2018 01:12:06 -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 S1753360AbeCFJMA (ORCPT + 28 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 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(-) -- 2.11.0 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.)