Merge tag 'xtensa-20221213' of https://github.com/jcmvbkbc/linux-xtensa
[linux-2.6-microblaze.git] / include / linux / blk_types.h
index e0b0980..99be590 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);