xen/blkfront: remove redundant flush_op
authorVitaly Kuznetsov <vkuznets@redhat.com>
Tue, 9 Dec 2014 14:25:10 +0000 (15:25 +0100)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 10 Dec 2014 17:20:18 +0000 (12:20 -0500)
commitfdf9b9650366c575650edcaaede3a68efbb24919
tree6a5edba912169ad430fa45166171f8910d295e50
parentad42d391ae388bd4ce4d53e8d7b4089cfdcba411
xen/blkfront: remove redundant flush_op

flush_op is unambiguously defined by feature_flush:
    REQ_FUA | REQ_FLUSH -> BLKIF_OP_WRITE_BARRIER
    REQ_FLUSH -> BLKIF_OP_FLUSH_DISKCACHE
    0 -> 0
and thus can be removed. This is just a cleanup.

The patch was suggested by Boris Ostrovsky.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/block/xen-blkfront.c