rk312x: add psci support
[firefly-linux-kernel-4.4.55.git] / fs / inode.c
index 17f95b417955d35ecf1372cbff94420fe9d64286..cd13868fadab02efa9f5512d72600afd5e6cec1a 100644 (file)
@@ -1887,16 +1887,3 @@ void inode_dio_wait(struct inode *inode)
 }
 EXPORT_SYMBOL(inode_dio_wait);
 
-/*
- * inode_dio_done - signal finish of a direct I/O requests
- * @inode: inode the direct I/O happens on
- *
- * This is called once we've finished processing a direct I/O request,
- * and is used to wake up callers waiting for direct I/O to be quiesced.
- */
-void inode_dio_done(struct inode *inode)
-{
-       if (atomic_dec_and_test(&inode->i_dio_count))
-               wake_up_bit(&inode->i_state, __I_DIO_WAKEUP);
-}
-EXPORT_SYMBOL(inode_dio_done);