diff options
author | Davidlohr Bueso | 2011-06-06 15:52:30 +0200 |
---|---|---|
committer | Karel Zak | 2011-06-08 13:09:42 +0200 |
commit | a8b40ece722d46b210813f80818ecee549ed2a9e (patch) | |
tree | 4d66070c80877f4dc9e165e4d7b821a76a506254 /disk-utils | |
parent | fstrim, setarch: replace error() with err() (diff) | |
download | kernel-qcow2-util-linux-a8b40ece722d46b210813f80818ecee549ed2a9e.tar.gz kernel-qcow2-util-linux-a8b40ece722d46b210813f80818ecee549ed2a9e.tar.xz kernel-qcow2-util-linux-a8b40ece722d46b210813f80818ecee549ed2a9e.zip |
minix: fix warning
This patch fixes an unused variable warning.
Signed-off-by: Davidlohr Bueso <dave@gnu.org>
Diffstat (limited to 'disk-utils')
-rw-r--r-- | disk-utils/minix.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/disk-utils/minix.h b/disk-utils/minix.h index 4e670ba00..0ebaa261e 100644 --- a/disk-utils/minix.h +++ b/disk-utils/minix.h @@ -123,8 +123,6 @@ static inline unsigned long get_max_size(void) static unsigned long inode_blocks(void) { - unsigned long ret; - if (fs_version == 2) return UPPER(get_ninodes(), MINIX2_INODES_PER_BLOCK); else |