]> git.baikalelectronics.ru Git - kernel.git/commit
blk-mq-debugfs: don't open code strstrip()
authorOmar Sandoval <osandov@fb.com>
Thu, 4 May 2017 07:31:26 +0000 (00:31 -0700)
committerJens Axboe <axboe@fb.com>
Thu, 4 May 2017 14:23:20 +0000 (08:23 -0600)
commit03b1e5f4a69a245f5d0d7410ba4ad2b9736ff43c
treefa2a1fd30e70b8fee6236864cb15e0b318072d0d
parentb4ebb3bafbfcf876cd0a8b07e8ec2210f951cd02
blk-mq-debugfs: don't open code strstrip()

Slightly more readable, plus we also strip leading spaces.

Signed-off-by: Omar Sandoval <osandov@fb.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-mq-debugfs.c