Just merge them into their only callers.
Showing the changes to include/linux (1 of 2 files). Show all
Unified · Split
| @@ -232,18 +232,8 @@ enum { · 231 unmodified lines | |||
| 232 | BLK_RW_SYNC = 1, | 232 | BLK_RW_SYNC = 1, |
| 233 | }; | 233 | }; |
| 234 | 234 | ||
| 235 | void clear_wb_congested(struct bdi_writeback_congested *congested, int sync); | 235 | void clear_bdi_congested(struct backing_dev_info *bdi, int sync); |
| 236 | void set_wb_congested(struct bdi_writeback_congested *congested, int sync); | 236 | void set_bdi_congested(struct backing_dev_info *bdi, int sync); |
| 237 | |||
| 238 | static inline void clear_bdi_congested(struct backing_dev_info *bdi, int sync) | ||
| 239 | { | ||
| 240 | clear_wb_congested(bdi->wb.congested, sync); | ||
| 241 | } | ||
| 242 | |||
| 243 | static inline void set_bdi_congested(struct backing_dev_info *bdi, int sync) | ||
| 244 | { | ||
| 245 | set_wb_congested(bdi->wb.congested, sync); | ||
| 246 | } | ||
| 247 | 237 | ||
| 248 | struct wb_lock_cookie { | 238 | struct wb_lock_cookie { |
| 249 | bool locked; | 239 | bool locked; |