]> 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)
commit849b505a07bbdb7c2ecf4ba2e907c0176d6367ff
treefa2a1fd30e70b8fee6236864cb15e0b318072d0d
parent6236c71622778b395dcfab33ac79b095ada49bab
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