Merge tag 'x86_asm_for_v6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
[linux-block.git] / include / linux / blk_types.h
index e0b098089ef2b7c818c73fd1219322eaeedd3367..99be590f952f6e69d47900b970f05f0195e98798 100644 (file)
@@ -472,13 +472,6 @@ static inline enum req_op bio_op(const struct bio *bio)
        return bio->bi_opf & REQ_OP_MASK;
 }
 
-/* obsolete, don't use in new code */
-static inline void bio_set_op_attrs(struct bio *bio, enum req_op op,
-                                   blk_opf_t op_flags)
-{
-       bio->bi_opf = op | op_flags;
-}
-
 static inline bool op_is_write(blk_opf_t op)
 {
        return !!(op & (__force blk_opf_t)1);