Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp365065ybd; Tue, 25 Jun 2019 23:06:27 -0700 (PDT) X-Google-Smtp-Source: APXvYqx4hTn16JZyaBoiqMWnLL4PXbIJN3sUxTSIIuHT6BIELr2NIPWzH1C2vI0AytcNTHL5bgjh X-Received: by 2002:a17:902:290b:: with SMTP id g11mr3295971plb.26.1561529187394; Tue, 25 Jun 2019 23:06:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561529187; cv=none; d=google.com; s=arc-20160816; b=z2BjnBF49OrDVSYFm1uh5Tm46hLOeQrm/CL65Gemnl9PwM6gH3d/mjGXr50O9l3tHJ Ax8wOWO3D5ixen9phfzY+Sxy+Kj1zUjYGNSZVyUAqF1u1YqC8vQ+WpXs+8CBzwC8btf4 WVgKOtHp9AhPsociIuOJLDmpGDrf7DasKIdTASyA/j2uB1UKcELxoFKVAoblxkHZQmeP wyliUkXPYJXUYoTLxyVj8gP7CWr0uTz7udoRDBmAB4olMIaIb0Wc9gYqd8O0DidUIbDK ugcdh8SwUcPorkMlohXXkB2FdBZgdKKHz99/a+K8VZGTblumon++AYVBeSCaxJP+u6tx spOA== 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=06xS/MCk9BKm49+JCirpSyRvCTfu8mfwSjWjhKs9ven7h583dLZc3gSdraMEOWDPlW vBwdCzn0lmkEnuoYOPTBkpLCRi8FrX//A01XVV7w5XI9u7rSzIy6aqUJc1gTJlSYPPOz YH0xbSxMe7hQa5Ah+2Eah+0uWyJO5ixq7B4Iknrunk/TJ7gJ/gsCfo4L3yvB1NxXB4IB PcUgiWOOwX/q4Q7vj6goR10xcLPDQcjDKqgR+RCK9VpxOYzjlnt4LFyiUO4zn6gzzLHh UfOpTLbuB3puxcDFCoWC5H9oAMWNIwaw9McWIup7C9ukkizek7TdfG9l+4bZVQzPhtwc wawg== 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 y4si16360687pgi.556.2019.06.25.23.05.46; Tue, 25 Jun 2019 23:06:27 -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 S1726416AbfFZGFd (ORCPT + 99 others); Wed, 26 Jun 2019 02:05:33 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:50910 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725379AbfFZGFc (ORCPT ); Wed, 26 Jun 2019 02:05:32 -0400 Received: from pps.filterd (m0098393.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x5Q63bNk058059 for ; Wed, 26 Jun 2019 02:05:31 -0400 Received: from e06smtp03.uk.ibm.com (e06smtp03.uk.ibm.com [195.75.94.99]) by mx0a-001b2d01.pphosted.com with ESMTP id 2tc1gf35k3-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 26 Jun 2019 02:05:31 -0400 Received: from localhost by e06smtp03.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 26 Jun 2019 07:05:29 +0100 Received: from b06cxnps4076.portsmouth.uk.ibm.com (9.149.109.198) 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) Wed, 26 Jun 2019 07:05:26 +0100 Received: from d06av25.portsmouth.uk.ibm.com (d06av25.portsmouth.uk.ibm.com [9.149.105.61]) by b06cxnps4076.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x5Q65PBo45809812 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 26 Jun 2019 06:05:25 GMT Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 81B9A11C058; Wed, 26 Jun 2019 06:05:25 +0000 (GMT) Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 2E86311C05C; Wed, 26 Jun 2019 06:05:25 +0000 (GMT) Received: from ozlabs.au.ibm.com (unknown [9.192.253.14]) by d06av25.portsmouth.uk.ibm.com (Postfix) with ESMTP; Wed, 26 Jun 2019 06:05:25 +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 115CBA01B9; Wed, 26 Jun 2019 16:05:24 +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: Wed, 26 Jun 2019 16:03:50 +1000 X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 x-cbid: 19062606-0012-0000-0000-0000032C74E9 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19062606-0013-0000-0000-00002165AD50 Message-Id: <20190626060350.15715-1-alastair@au1.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-06-26_02:,, 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=641 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1906260073 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