md/linear: Get rid of md-linear.h
PATCH 1/1 md/linear: Get rid of md-linear.h
Given that 849d18e27be9 ("md: Remove deprecated CONFIG_MD_LINEAR") killed the linear flavour of MD, it seems only logical to drop the leftover include file that used to come with it.
I also feel that it should be my own privilege to remove my 30 year old attempt at writing kernel code ;-). RIP!
--- drivers/md/md-linear.h | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 drivers/md/md-linear.h
drivers/md/md-linear.h deleted +0 -17
@@ -1,17 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _LINEAR_H -#define _LINEAR_H - -struct dev_info { -struct md_rdev *rdev; -sector_t end_sector; -}; - -struct linear_conf -{ -struct rcu_head rcu; -sector_t array_sectors; -int raid_disks;/* a copy of mddev->raid_disks */ - struct dev_info disks[] __counted_by(raid_disks); -}; -#endif
Signature · 1 line
2.39.2
Quoted 10 lines · Marc Zyngier
Given that
849d18e27be9("md: Remove deprecatedCONFIG_MD_LINEAR") killed the linear flavour of MD, it seems only logical to drop the leftover include file that used to come with it.I also feel that it should be my own privilege to remove my 30 year old attempt at writing kernel code ;-). RIP!
Cc Song Liu <[email protected]>Cc Yu Kuai <[email protected]>Signed-off-by Marc Zyngier <[email protected]>
LGTM
Quoted 29 lines
--- drivers/md/md-linear.h | 17 ----------------- 1 file changed, 17 deletions(-)delete mode 100644
drivers/md/md-linear.hdrivers/md/md-linear.h deleted +0
-17@@ -1,17 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _LINEAR_H -#define _LINEAR_H - -struct dev_info { -struct md_rdev *rdev; -sector_t end_sector; -}; - -struct linear_conf -{ -struct rcu_head rcu; -sector_t array_sectors; -int raid_disks;/* a copy of mddev->raid_disks */ - struct dev_info disks[] __counted_by(raid_disks); -}; -#endif
Quoted 9 lines · Yu Kuai
Quoted 7 lines · Marc Zyngier
Given that
849d18e27be9("md: Remove deprecatedCONFIG_MD_LINEAR") killed the linear flavour of MD, it seems only logical to drop the leftover include file that used to come with it.I also feel that it should be my own privilege to remove my 30 year old attempt at writing kernel code ;-). RIP!
Quoted 6 lines
Quoted 3 lines
Cc Song Liu <[email protected]>Cc Yu Kuai <[email protected]>Signed-off-by Marc Zyngier <[email protected]>LGTM
Reviewed-by Yu Kuai <[email protected]>
Applied to md-6.9. Thanks!
Song