summaryrefslogtreecommitdiffstats
path: root/drivers/md/raid10.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/md/raid10.h')
-rw-r--r--drivers/md/raid10.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/md/raid10.h b/drivers/md/raid10.h
index be7f8d9cfc63..94f898a11be4 100644
--- a/drivers/md/raid10.h
+++ b/drivers/md/raid10.h
@@ -1,8 +1,6 @@
#ifndef _RAID10_H
#define _RAID10_H
-typedef struct mirror_info mirror_info_t;
-
struct mirror_info {
struct md_rdev *rdev;
sector_t head_position;
@@ -15,7 +13,7 @@ struct mirror_info {
struct r10_private_data_s {
struct mddev *mddev;
- mirror_info_t *mirrors;
+ struct mirror_info *mirrors;
int raid_disks;
spinlock_t device_lock;