From patchwork Fri Aug 18 12:43:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yue Haibing X-Patchwork-Id: 136247 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b82d:0:b0:3f2:4152:657d with SMTP id z13csp2418962vqi; Sun, 20 Aug 2023 03:49:59 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEh+IxEDPyrx4Q+ZKqCVc25y0tUgklETh5TbQjBqN0+GTQZ7EhZe6IRH2YwExDV1o9J+p4g X-Received: by 2002:a05:6358:2825:b0:134:c37f:4b64 with SMTP id k37-20020a056358282500b00134c37f4b64mr3939225rwb.30.1692528599028; Sun, 20 Aug 2023 03:49:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692528598; cv=none; d=google.com; s=arc-20160816; b=Iwb4o12tN2FBIQvQzEiKSAI9wKO5ICRS7/7Bcjnu+2ffVJXRHbWnUcZuVDW1A6kCAY f6PJwU45IR5nChx3Ay54lhpr7pX2kOFTpbzZVq3tkJSUknOFC/Ekiu+84u0Kl8gL9HsE tCezOFegLZlJpf9RyJ9XWiUfdB2I792/FRq+h2PMa63HH3XUeXTYPe923VEDFVq8raVi z4oYlCuoTGCh94RBDZ4tTskF/Jg1XykSlrb7XdXwXO6oEoSf0BE9c0wk821t4ea9aEec ebj/nkL+5RRbPy8elDgJ6jxHifeSEwsVhCJkiRP7cztvcVB30s9yVitAHWehWMCPlW1I vujg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=fnxsFHhpqq2OYY7AQfSLX3KvYZ8UjZbqPZMmQMzRbyQ=; fh=uwsl5h/p5MXIlmfO2lGEvonXXe0holTclCGysGPzeuM=; b=rWwtMzNBlfTCucHHHYdYevFTFnndptOJrfoU37aj0eUg+f/bWAEzV/vtUizvY7lzUT vNq/0QcmzI825JpImpRzFfbXh+Nib105vY0bQcndE7KRAxJ9WN1C8uYptap5/fe2ts2N r/BR6zYLIxWYu+L3y5UUEm7rJBQKA59Ssw/rX90/IzpbmwvSf4epE+1wcG14yXKINypG X8ssaNSkAYHz33AY773SnxZQDmte8VWrcAwXmY0MF692Fh/fbOgqsyAhgH1KhXkRkGxd qrDVtMwTcrFs/0PEH46tRK0WbArdZZzJV6eh1lhUw9+zcjI0rY/hC06YFrvfaEYAYzBa PlXw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id x26-20020a63171a000000b0056950741976si4320208pgl.392.2023.08.20.03.49.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Aug 2023 03:49:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 25797303CF9; Sat, 19 Aug 2023 11:56:14 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1359450AbjHRMod (ORCPT + 99 others); Fri, 18 Aug 2023 08:44:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53652 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1376845AbjHRMoM (ORCPT ); Fri, 18 Aug 2023 08:44:12 -0400 Received: from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 312113A99 for ; Fri, 18 Aug 2023 05:44:11 -0700 (PDT) Received: from canpemm500007.china.huawei.com (unknown [172.30.72.56]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4RS1jy1F9jz1GDS2; Fri, 18 Aug 2023 20:42:46 +0800 (CST) Received: from localhost (10.174.179.215) by canpemm500007.china.huawei.com (7.192.104.62) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.31; Fri, 18 Aug 2023 20:44:08 +0800 From: Yue Haibing To: , , , CC: , Subject: [PATCH -next] greybus: svc: Remove unused declarations Date: Fri, 18 Aug 2023 20:43:38 +0800 Message-ID: <20230818124338.37880-1-yuehaibing@huawei.com> X-Mailer: git-send-email 2.10.2.windows.1 MIME-Version: 1.0 X-Originating-IP: [10.174.179.215] X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) To canpemm500007.china.huawei.com (7.192.104.62) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1774744867960439437 X-GMAIL-MSGID: 1774744867960439437 Commit 84427943d2da ("greybus: svc: drop legacy-protocol dependency") removed these implementations but not the declarations. Signed-off-by: Yue Haibing Reviewed-by: Johan Hovold --- include/linux/greybus/svc.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/linux/greybus/svc.h b/include/linux/greybus/svc.h index 5afaf5f06856..da547fb9071b 100644 --- a/include/linux/greybus/svc.h +++ b/include/linux/greybus/svc.h @@ -100,7 +100,4 @@ bool gb_svc_watchdog_enabled(struct gb_svc *svc); int gb_svc_watchdog_enable(struct gb_svc *svc); int gb_svc_watchdog_disable(struct gb_svc *svc); -int gb_svc_protocol_init(void); -void gb_svc_protocol_exit(void); - #endif /* __SVC_H */