git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
md: remove mddev_to_conf "helper" macro
[safe/jmp/linux-2.6]
/
drivers
/
md
/
raid10.h
diff --git
a/drivers/md/raid10.h
b/drivers/md/raid10.h
index
244dbe5
..
59cd1ef
100644
(file)
--- a/
drivers/md/raid10.h
+++ b/
drivers/md/raid10.h
@@
-62,12
+62,6
@@
struct r10_private_data_s {
typedef struct r10_private_data_s conf_t;
/*
typedef struct r10_private_data_s conf_t;
/*
- * this is the only point in the RAID code where we violate
- * C type safety. mddev->private is an 'opaque' pointer.
- */
-#define mddev_to_conf(mddev) ((conf_t *) mddev->private)
-
-/*
* this is our 'private' RAID10 bio.
*
* it contains information about what kind of IO operations were started
* this is our 'private' RAID10 bio.
*
* it contains information about what kind of IO operations were started