diff options
| author | 2020-05-19 20:34:12 +0200 | |
|---|---|---|
| committer | 2020-05-19 20:34:12 +0200 | |
| commit | 9013196a467e770e1470cccee6c0fe435ef37c66 (patch) | |
| tree | 2aefbb9d14a1a7513af9e752fe5bb80cf6b00c0c /include/linux/backing-dev.h | |
| parent | sched: Make scheduler_ipi inline (diff) | |
| parent | sched/fair: Fix unthrottle_cfs_rq() for leaf_cfs_rq list (diff) | |
Merge branch 'sched/urgent'
Diffstat (limited to 'include/linux/backing-dev.h')
| -rw-r--r-- | include/linux/backing-dev.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/include/linux/backing-dev.h b/include/linux/backing-dev.h index f88197c1ffc2..c9ad5c3b7b4b 100644 --- a/include/linux/backing-dev.h +++ b/include/linux/backing-dev.h @@ -505,13 +505,6 @@ static inline int bdi_rw_congested(struct backing_dev_info *bdi) (1 << WB_async_congested)); } -extern const char *bdi_unknown_name; - -static inline const char *bdi_dev_name(struct backing_dev_info *bdi) -{ - if (!bdi || !bdi->dev) - return bdi_unknown_name; - return dev_name(bdi->dev); -} +const char *bdi_dev_name(struct backing_dev_info *bdi); #endif /* _LINUX_BACKING_DEV_H */ |
