[Drbd-dev] [PATCH 18/21] drbd: remove redundant declarations
Fabian Frederick
fabf at skynet.be
Fri Nov 27 22:29:33 CET 2015
both drbd_conn_str() and drbd_role_str() were already declared
extern in drbd_strings.h included in drbd_int.h
Signed-off-by: Fabian Frederick <fabf at skynet.be>
---
drivers/block/drbd/drbd_int.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/block/drbd/drbd_int.h b/drivers/block/drbd/drbd_int.h
index 34bc84e..c898947 100644
--- a/drivers/block/drbd/drbd_int.h
+++ b/drivers/block/drbd/drbd_int.h
@@ -1635,8 +1635,6 @@ void drbd_bump_write_ordering(struct drbd_resource *resource, struct drbd_backin
/* drbd_proc.c */
extern struct proc_dir_entry *drbd_proc;
extern const struct file_operations drbd_proc_fops;
-extern const char *drbd_conn_str(enum drbd_conns s);
-extern const char *drbd_role_str(enum drbd_role s);
/* drbd_actlog.c */
extern bool drbd_al_begin_io_prepare(struct drbd_device *device, struct drbd_interval *i);
--
2.1.4
More information about the drbd-dev
mailing list