summaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorBart Van Assche <bart.vanassche@wdc.com>2017-08-17 23:12:57 +0300
committerJens Axboe <axboe@kernel.dk>2017-08-18 17:45:29 +0300
commit14262a4bbc6f86d339a20c744978937c2045227a (patch)
treeb1bf8e429eaf3ea873839cd27baed0d6dd52fae3 /scripts/patch-kernel
parent55712aeb2cdb219bbdad4c0aba62a13449cbc62f (diff)
downloadlinux-14262a4bbc6f86d339a20c744978937c2045227a.tar.xz
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 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions