Skip to contentSkip to conversation

retire the APIs that driver no longer supports

PATCH New Zhilong Liu 1 participant 1 message May 11, 2017 MD RAID

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 retire the APIs that driver no longer supports

refer to commit: e6e5f8f1267d ("Build: Stop bothering about supporting md driver ...") continue to retire the APIs that md driver wasn't supported for very long period of time.

---
 Build.c  | 4 ----
 Manage.c | 4 ----
 2 files changed, 8 deletions(-)
Build.c +0 -4
index ad59867..70ba068 100644
@@ -24,10 +24,6 @@
 
 #include "mdadm.h"
 
-#define REGISTER_DEV		_IO (MD_MAJOR, 1)
-#define START_MD		_IO (MD_MAJOR, 2)
-#define STOP_MD			_IO (MD_MAJOR, 3)
-
 int Build(char *mddev, struct mddev_dev *devlist,
 	  struct shape *s, struct context *c)
 {
Manage.c +0 -4
index 14276b7..467efb7 100644
@@ -27,10 +27,6 @@
 #include "md_p.h"
 #include <ctype.h>
 
-#define REGISTER_DEV		_IO (MD_MAJOR, 1)
-#define START_MD		_IO (MD_MAJOR, 2)
-#define STOP_MD			_IO (MD_MAJOR, 3)
-
 int Manage_ro(char *devname, int fd, int readonly)
 {
 	/* switch to readonly or rw
Signature · 1 line
2.10.2