From patchwork Fri Oct 4 17:44:24 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Cl=C3=A9ment_Leger?= X-Patchwork-Id: 11175147 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 22A741747 for ; Fri, 4 Oct 2019 17:44:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id EB40D20862 for ; Fri, 4 Oct 2019 17:44:50 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=kalray.eu header.i=@kalray.eu header.b="j6MuNcPa" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729291AbfJDRou (ORCPT ); Fri, 4 Oct 2019 13:44:50 -0400 Received: from zimbra2.kalray.eu ([92.103.151.219]:40340 "EHLO zimbra2.kalray.eu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725932AbfJDRou (ORCPT ); Fri, 4 Oct 2019 13:44:50 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra2.kalray.eu (Postfix) with ESMTP id 9EEA027E168B; Fri, 4 Oct 2019 19:44:48 +0200 (CEST) Received: from zimbra2.kalray.eu ([127.0.0.1]) by localhost (zimbra2.kalray.eu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 2bC4j2hYHyUN; Fri, 4 Oct 2019 19:44:48 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zimbra2.kalray.eu (Postfix) with ESMTP id 408ED27E1685; Fri, 4 Oct 2019 19:44:48 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.10.3 zimbra2.kalray.eu 408ED27E1685 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kalray.eu; s=32AE1B44-9502-11E5-BA35-3734643DEF29; t=1570211088; bh=lNJg/LV7yB630AqjOoxpn34nOdtDsm/AxVz9zmDuLU4=; h=From:To:Date:Message-Id; b=j6MuNcPaqOU1llFHRnYhX1E9/lJGgWhz1jYW0pv0wEC/Oi2dlIox6VR2SRUaGy5fY nQLAao3PsCTEuEPlrd7uBvMgtezjOOs4OaiMmut4ajE2GMMkxl3Vc3qZbMjQZTMKV/ hQjKBogu1XRdIK8iZWtIBw76WM1jcg/ZARTBLnVE= X-Virus-Scanned: amavisd-new at zimbra2.kalray.eu Received: from zimbra2.kalray.eu ([127.0.0.1]) by localhost (zimbra2.kalray.eu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id gsKztxltXw-l; Fri, 4 Oct 2019 19:44:48 +0200 (CEST) Received: from triton.lin.mbt.kalray.eu (unknown [192.168.37.25]) by zimbra2.kalray.eu (Postfix) with ESMTPSA id 2976227E0415; Fri, 4 Oct 2019 19:44:48 +0200 (CEST) From: Clement Leger To: Ohad Ben-Cohen , Bjorn Andersson Cc: linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, Clement Leger Subject: [PATCH] remoteproc: remove useless typedef Date: Fri, 4 Oct 2019 19:44:24 +0200 Message-Id: <20191004174424.21898-1-cleger@kalray.eu> X-Mailer: git-send-email 2.15.0.276.g89ea799 Sender: linux-remoteproc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-remoteproc@vger.kernel.org rproc_handle_resources_t is not used anymore, remove it. Signed-off-by: Clement Leger --- drivers/remoteproc/remoteproc_core.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/remoteproc/remoteproc_core.c b/drivers/remoteproc/remoteproc_core.c index 48feebd6d0a2..78e00194e72f 100644 --- a/drivers/remoteproc/remoteproc_core.c +++ b/drivers/remoteproc/remoteproc_core.c @@ -52,8 +52,6 @@ static DEFINE_MUTEX(rproc_list_mutex); static LIST_HEAD(rproc_list); -typedef int (*rproc_handle_resources_t)(struct rproc *rproc, - struct resource_table *table, int len); typedef int (*rproc_handle_resource_t)(struct rproc *rproc, void *, int offset, int avail);