diff options
author | Alexandru Ardelean <alexandru.ardelean@analog.com> | 2019-06-28 19:59:32 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-06-28 07:39:14 -0600 |
commit | 89e0341af082dbc170019f908846f4a424efc86b (patch) | |
tree | 4f829f5f4aba4da6c1e974d6c78c6bb522c113d7 /net | |
parent | f960facb399ece6ff88a7a2d4b4a5515e3a467a0 (diff) |
bcache: use sysfs_match_string() instead of __sysfs_match_string()
The arrays (of strings) that are passed to __sysfs_match_string() are
static, so use sysfs_match_string() which does an implicit ARRAY_SIZE()
over these arrays.
Functionally, this doesn't change anything.
The change is more cosmetic.
It only shrinks the static arrays by 1 byte each.
Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Signed-off-by: Coly Li <colyli@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions