Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp2099443ybi; Sun, 16 Jun 2019 21:48:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqw5gwKKzw+SEB8dWFIay6nDqAfQOdueq//qXrbKJSHYyCT6W/JNVKto3x8yXl5UBB59P2Wi X-Received: by 2002:a17:902:549:: with SMTP id 67mr46603816plf.86.1560746881497; Sun, 16 Jun 2019 21:48:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560746881; cv=none; d=google.com; s=arc-20160816; b=q6jHKqdS4PcvdGa1Yr5Px5nBiJSb5/qxhnbWFgDA4MwT84kxq5ytrP7gSe2Zbe0Dlt GbZ91upRjdv7N929OnQwAep3ZdUXqUJBJKPWTE85JxAObjlmMgANYeK1B4Y+h3iNg+57 y2vPR90cagHl0HXYnh+hLXrVolLpXstsBzM3v+WrHt0waM1e20e7aJK6JudVCA6ig8KC llcG5j9PptAO4KCrL0UZHiOklOP8/TEyFxHu83DZS3BBJiR1p59gXwn6qO22KZiae4yE lNTg3PkIIQRBvh7Y0T2kHUgSwkLcTD213wqa0WutqQIxA+gpeFo83cC95LJpLqqv7dMt cb2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:content-transfer-encoding :mime-version:date:subject:cc:to:from; bh=OhBTaoXhz2F0rgAC3FfLqKw1Vw2Hhp520mKTex+uqKc=; b=rmCJGVO6XyCvjdexHnwdn0f+3OsJtOW0dw644HW+A27GSrUXx36Yp3zKq0nWoOocsX ksPYiBCTGd0Y01IHfao6vtWbPEEA0z55haUr+MlThWdoSSPecjAHIP5jhTyleBwm+yMT rXZKsK5WtWCsJJK66nPvi5a7IGsU8c3/n6fmA/eUf8hbwsb1zTiHjDI2uQQ9EfE+yqQ/ JFLEQw81UlayOXMNqsWDsZ7bgqv/ehDxrhxy3UtQiIKmqiyBcRbjZNTSM2dLargeGAak Qbr6KXz/Swy7qOfKZ3PQPqL3mjYBAvGx97DTuHRgviq69UGdPes+ln0GwWZc1XYavw8a WFqg== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j8si8936425plt.303.2019.06.16.21.47.46; Sun, 16 Jun 2019 21:48:01 -0700 (PDT) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726073AbfFQErm (ORCPT + 99 others); Mon, 17 Jun 2019 00:47:42 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:60300 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725778AbfFQErm (ORCPT ); Mon, 17 Jun 2019 00:47:42 -0400 Received: from pps.filterd (m0098404.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x5H4lM5r054060 for ; Mon, 17 Jun 2019 00:47:41 -0400 Received: from e06smtp03.uk.ibm.com (e06smtp03.uk.ibm.com [195.75.94.99]) by mx0a-001b2d01.pphosted.com with ESMTP id 2t63gvh21q-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 17 Jun 2019 00:47:40 -0400 Received: from localhost by e06smtp03.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 17 Jun 2019 05:47:37 +0100 Received: from b06cxnps4075.portsmouth.uk.ibm.com (9.149.109.197) by e06smtp03.uk.ibm.com (192.168.101.133) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Mon, 17 Jun 2019 05:47:34 +0100 Received: from d06av21.portsmouth.uk.ibm.com (d06av21.portsmouth.uk.ibm.com [9.149.105.232]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x5H4lXw332243758 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 17 Jun 2019 04:47:33 GMT Received: from d06av21.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 90A5552054; Mon, 17 Jun 2019 04:47:33 +0000 (GMT) Received: from ozlabs.au.ibm.com (unknown [9.192.253.14]) by d06av21.portsmouth.uk.ibm.com (Postfix) with ESMTP id 40CE952057; Mon, 17 Jun 2019 04:47:33 +0000 (GMT) Received: from adsilva.ozlabs.ibm.com (haven.au.ibm.com [9.192.254.114]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.au.ibm.com (Postfix) with ESMTPSA id 36718A0208; Mon, 17 Jun 2019 14:47:32 +1000 (AEST) From: "Alastair D'Silva" To: alastair@d-silva.org Cc: Dan Williams , Vishal Verma , Dave Jiang , Keith Busch , Ira Weiny , linux-nvdimm@lists.01.org, linux-kernel@vger.kernel.org Subject: [PATCH] nvdimm: remove prototypes for nonexistent functions Date: Mon, 17 Jun 2019 14:47:12 +1000 X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 x-cbid: 19061704-0012-0000-0000-00000329B2E6 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19061704-0013-0000-0000-00002162C893 Message-Id: <20190617044712.14231-1-alastair@au1.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-06-17_03:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=1 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=638 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1906170043 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Alastair D'Silva These functions don't exist, so remove the prototypes for them. Signed-off-by: Alastair D'Silva --- drivers/nvdimm/nd-core.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/nvdimm/nd-core.h b/drivers/nvdimm/nd-core.h index 391e88de3a29..57d162dbefaa 100644 --- a/drivers/nvdimm/nd-core.h +++ b/drivers/nvdimm/nd-core.h @@ -136,11 +136,7 @@ void nd_region_disable(struct nvdimm_bus *nvdimm_bus, struct device *dev); int nvdimm_bus_create_ndctl(struct nvdimm_bus *nvdimm_bus); void nvdimm_bus_destroy_ndctl(struct nvdimm_bus *nvdimm_bus); void nd_synchronize(void); -int nvdimm_bus_register_dimms(struct nvdimm_bus *nvdimm_bus); -int nvdimm_bus_register_regions(struct nvdimm_bus *nvdimm_bus); -int nvdimm_bus_init_interleave_sets(struct nvdimm_bus *nvdimm_bus); void __nd_device_register(struct device *dev); -int nd_match_dimm(struct device *dev, void *data); struct nd_label_id; char *nd_label_gen_id(struct nd_label_id *label_id, u8 *uuid, u32 flags); bool nd_is_uuid_unique(struct device *dev, u8 *uuid); -- 2.21.0