diff options
author | Bart Van Assche <bart.vanassche@wdc.com> | 2017-08-17 13:12:57 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-08-18 08:45:29 -0600 |
commit | 14262a4bbc6f86d339a20c744978937c2045227a (patch) | |
tree | b1bf8e429eaf3ea873839cd27baed0d6dd52fae3 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 55712aeb2cdb219bbdad4c0aba62a13449cbc62f (diff) |
skd: Remove useless barrier() calls
The purpose of barrier() is to prevent reordering by the compiler.
Since the compiler does not reorder calls to non-pure functions,
remove the barrier() calls from skd_reg_{read,write}{32,64}().
Since pr_debug() is able to report file name and line number
information, remove __FILE__ and __LINE__ from the pr_debug() calls.
Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Hannes Reinecke <hare@suse.de>
Cc: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions