From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Gruenbacher Date: Fri, 5 Apr 2019 19:55:52 +0200 Subject: [Cluster-devel] [GFS2 PATCH 2/4] gfs2: Remove unnecessary extern declarations In-Reply-To: <20190405175554.26897-1-agruenba@redhat.com> References: <20190405175554.26897-1-agruenba@redhat.com> Message-ID: <20190405175554.26897-2-agruenba@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Stop declaring our log operations as extern; they are only used locally. Signed-off-by: Andreas Gruenbacher --- fs/gfs2/lops.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/fs/gfs2/lops.h b/fs/gfs2/lops.h index 4e81742de7a0c..320fbf28d2fba 100644 --- a/fs/gfs2/lops.h +++ b/fs/gfs2/lops.h @@ -20,11 +20,6 @@ ((sizeof(struct gfs2_log_descriptor) + (2 * sizeof(__be64) - 1)) & \ ~(2 * sizeof(__be64) - 1)) -extern const struct gfs2_log_operations gfs2_glock_lops; -extern const struct gfs2_log_operations gfs2_buf_lops; -extern const struct gfs2_log_operations gfs2_revoke_lops; -extern const struct gfs2_log_operations gfs2_databuf_lops; - extern const struct gfs2_log_operations *gfs2_log_ops[]; extern u64 gfs2_log_bmap(struct gfs2_sbd *sdp); extern void gfs2_log_write(struct gfs2_sbd *sdp, struct page *page, -- 2.20.1