]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/md/raid10.c
md: raid1-10: move raid1/raid10 common code into raid1-10.c
[mirror_ubuntu-bionic-kernel.git] / drivers / md / raid10.c
index 9952721e1cdeb60966c9b3f6aa488ccb1f903924..e2617d0f37dca8dcb24ed224101b640ce115048a 100644 (file)
@@ -112,15 +112,6 @@ static void end_reshape(struct r10conf *conf);
 
 #include "raid1-10.c"
 
-/*
- * 'strct resync_pages' stores actual pages used for doing the resync
- *  IO, and it is per-bio, so make .bi_private points to it.
- */
-static inline struct resync_pages *get_resync_pages(struct bio *bio)
-{
-       return bio->bi_private;
-}
-
 /*
  * for resync bio, r10bio pointer can be retrieved from the per-bio
  * 'struct resync_pages'.