From patchwork Tue Oct 16 12:24:58 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Honggang LI X-Patchwork-Id: 10643493 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 715B914E2 for ; Tue, 16 Oct 2018 12:25:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5D00E292DC for ; Tue, 16 Oct 2018 12:25:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4C04E29886; Tue, 16 Oct 2018 12:25:05 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E7079292DC for ; Tue, 16 Oct 2018 12:25:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727026AbeJPUPR (ORCPT ); Tue, 16 Oct 2018 16:15:17 -0400 Received: from mx1.redhat.com ([209.132.183.28]:33806 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726718AbeJPUPR (ORCPT ); Tue, 16 Oct 2018 16:15:17 -0400 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 8B31837E74; Tue, 16 Oct 2018 12:25:03 +0000 (UTC) Received: from lhg.nay.redhat.com (unknown [10.66.129.124]) by smtp.corp.redhat.com (Postfix) with ESMTP id 26BE07842A; Tue, 16 Oct 2018 12:25:01 +0000 (UTC) From: Honggang LI To: hal@dev.mellanox.co.il Cc: linux-rdma@vger.kernel.org, Honggang Li Subject: [opensm patch] cl_types.h delete unimplemented function cl_panic Date: Tue, 16 Oct 2018 20:24:58 +0800 Message-Id: <20181016122458.15585-1-honli@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.29]); Tue, 16 Oct 2018 12:25:03 +0000 (UTC) Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Honggang Li Signed-off-by: Honggang Li --- include/complib/cl_types.h | 41 +++++------------------------------------ 1 file changed, 5 insertions(+), 36 deletions(-) diff --git a/include/complib/cl_types.h b/include/complib/cl_types.h index a773e51c..8ee1106b 100644 --- a/include/complib/cl_types.h +++ b/include/complib/cl_types.h @@ -191,11 +191,11 @@ typedef uint64_t net64_t; #endif /*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -%% Function Returns And Completion Codes %% -%% %% -%% The text for any addition to this enumerated type must be added to the %% -%% string array defined in . %% -%% %% +%% Function Returns And Completion Codes %% +%% %% +%% The text for any addition to this enumerated type must be added to the %% +%% string array defined in . %% +%% %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/ /****d* Component Library/Data Types @@ -295,37 +295,6 @@ typedef int cl_status_t; /* Status values above converted to text for easier printing. */ extern const char *cl_status_text[]; -#ifndef cl_panic -/****f* Component Library: Error Trapping/cl_panic -* NAME -* cl_panic -* -* DESCRIPTION -* Halts execution of the current process. Halts the system if called in -* from the kernel. -* -* SYNOPSIS -*/ -void cl_panic(IN const char *const message, IN ...); -/* -* PARAMETERS -* message -* [in] ANSI string formatted identically as for a call to the standard C -* function printf describing the cause for the panic. -* -* ... -* [in] Extra parameters for string formatting, as defined for the -* standard C function printf. -* -* RETURN VALUE -* This function does not return. -* -* NOTES -* The formatting of the message string is the same as for printf -* -* cl_panic sends the message to the current message logging target. -*********/ -#endif /* cl_panic */ /****d* Component Library: Data Types/CL_STATUS_MSG * NAME