• Bart Van Assche's avatar
    skd: Remove useless barrier() calls · 14262a4b
    Bart Van Assche authored
    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: default avatarBart 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: default avatarJens Axboe <axboe@kernel.dk>
    14262a4b
skd_main.c 133 KB