OSDN Git Service

Merge tag 'LA.UM.8.4.1.r1-00300-8x98.0' of https://source.codeaurora.org/quic/la...
[sagit-ice-cold/kernel_xiaomi_msm8998.git] / block / blk.h
index 6ceebbd..1999522 100644 (file)
@@ -261,9 +261,7 @@ extern int blk_update_nr_requests(struct request_queue *, unsigned int);
  */
 static inline int blk_do_io_stat(struct request *rq)
 {
-       return rq->rq_disk &&
-              (rq->cmd_flags & REQ_IO_STAT) &&
-               (rq->cmd_type == REQ_TYPE_FS);
+       return false;
 }
 
 /*