aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorzhong jiang <[email protected]>2018-08-01 00:13:14 +0800
committerJens Axboe <[email protected]>2018-08-01 09:13:03 -0600
commit4725549192c9633b6a3740bf23770cb758bee4a0 (patch)
treef914b33624a7650377e265e68eb34bde3c35983a /tools/perf/scripts/python
parent08fcf813281ebcf72c69487c1501ad91b7121cdb (diff)
block/bsg-lib: use PTR_ERR_OR_ZERO to simplify the flow path
Simplify the code by using the PTR_ERR_OR_ZERO, instead of the open code. It is better. Reviewed-by: Johannes Thumshirn <[email protected]> Signed-off-by: zhong jiang <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions