Skip to contentSkip to conversation

md/raid5: remove stale md_raid5_kick_device() declaration

PATCH Applied Chen Cheng 2 participants 3 messages Mar 4 – Mar 22 MD RAID

lore
Share & tools
lore

Chen Cheng

author
#0 lore raw

PATCH 1/2 md/raid5: remove stale md_raid5_kick_device() declaration

Remove the unused md_raid5_kick_device() declaration from raid5.h - no definition exists for this function.

---
 drivers/md/raid5.h | 1 -
 1 file changed, 1 deletion(-)
drivers/md/raid5.h +0 -1
index 110b1c2d0a86..1c7b710fc9c1 100644
@@ -801,7 +801,6 @@ raid5_get_dev_page(struct stripe_head *sh, int disk_idx)
 }
 #endif
 
-void md_raid5_kick_device(struct r5conf *conf);
 int raid5_set_cache_size(struct mddev *mddev, int size);
 sector_t raid5_compute_blocknr(struct stripe_head *sh, int i, int previous);
 void raid5_release_stripe(struct stripe_head *sh);
Signature · 1 line
2.51.0
Reviewed-by on v1 1/2
#1 lore raw
Quoted 7 lines · Chen Cheng

Remove the unused md_raid5_kick_device() declaration from raid5.h - no definition exists for this function.

---
  drivers/md/raid5.h | 1 -
  1 file changed, 1 deletion(-)
Signature · 2 lines
Thansk,
Kuai
Applied
#2 lore raw
In reply to Chen Cheng
Quoted 7 lines · Chen Cheng

Remove the unused md_raid5_kick_device() declaration from raid5.h - no definition exists for this function.

---
  drivers/md/raid5.h | 1 -
  1 file changed, 1 deletion(-)

Applied

Signature · 2 lines
Thansk,
Kuai