summaryrefslogtreecommitdiffstats
path: root/drivers/block/z2ram.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/block/z2ram.c')
-rw-r--r--drivers/block/z2ram.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/block/z2ram.c b/drivers/block/z2ram.c
index 224db90e8..dfd0b0199 100644
--- a/drivers/block/z2ram.c
+++ b/drivers/block/z2ram.c
@@ -320,8 +320,6 @@ z2_release( struct inode *inode, struct file *filp )
if ( current_device == -1 )
return 0;
- sync_dev( inode->i_rdev );
-
/*
* FIXME: unmap memory
*/