From patchwork Mon Oct 17 19:11:14 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christoph Hellwig X-Patchwork-Id: 9380283 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id BC6EA60487 for ; Mon, 17 Oct 2016 19:11:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A13AA28567 for ; Mon, 17 Oct 2016 19:11:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 962AC28FF4; Mon, 17 Oct 2016 19:11:50 +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=-6.9 required=2.0 tests=BAYES_00,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 51ADC28567 for ; Mon, 17 Oct 2016 19:11:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964889AbcJQTLr (ORCPT ); Mon, 17 Oct 2016 15:11:47 -0400 Received: from bombadil.infradead.org ([198.137.202.9]:56760 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964808AbcJQTLm (ORCPT ); Mon, 17 Oct 2016 15:11:42 -0400 Received: from [83.175.99.196] (helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.85_2 #1 (Red Hat Linux)) id 1bwDK1-0006UW-Gz for linux-rdma@vger.kernel.org; Mon, 17 Oct 2016 19:11:41 +0000 From: Christoph Hellwig To: linux-rdma@vger.kernel.org Subject: [PATCH 05/13] ibacm: remove unused helper beginthread Date: Mon, 17 Oct 2016 21:11:14 +0200 Message-Id: <1476731482-26491-6-git-send-email-hch@lst.de> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1476731482-26491-1-git-send-email-hch@lst.de> References: <1476731482-26491-1-git-send-email-hch@lst.de> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html 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 Signed-off-by: Christoph Hellwig --- ibacm/linux/osd.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/ibacm/linux/osd.h b/ibacm/linux/osd.h index 7ce52e6..00a5084 100644 --- a/ibacm/linux/osd.h +++ b/ibacm/linux/osd.h @@ -130,10 +130,4 @@ static inline uint64_t time_stamp_us(void) #define time_stamp_sec() (time_stamp_ms() / (uint64_t) 1000) #define time_stamp_min() (time_stamp_sec() / (uint64_t) 60) -static inline int beginthread(void (*func)(void *), void *arg) -{ - pthread_t thread; - return pthread_create(&thread, NULL, (void *(*)(void*)) func, arg); -} - #endif /* OSD_H */