From: Peter K. <ja...@su...> - 2007-08-08 05:47:25
|
Remove redundant assignments in squashfs_fill_super(). Signed-off-by: Peter Korsgaard <ja...@su...> --- fs/squashfs/inode.c | 2 -- 1 file changed, 2 deletions(-) Index: linux/fs/squashfs/inode.c =================================================================== --- linux.orig/fs/squashfs/inode.c +++ linux/fs/squashfs/inode.c @@ -1137,7 +1137,6 @@ init_waitqueue_head(&msblk->waitq); init_waitqueue_head(&msblk->fragment_wait_queue); - sblk->bytes_used = sizeof(struct squashfs_super_block); if (!squashfs_read_data(s, (char *) sblk, SQUASHFS_START, sizeof(struct squashfs_super_block) | SQUASHFS_COMPRESSED_BIT_BLOCK, NULL, sizeof(struct squashfs_super_block))) { @@ -1146,7 +1145,6 @@ } /* Check it is a SQUASHFS superblock */ - msblk->swap = 0; if ((s->s_magic = sblk->s_magic) != SQUASHFS_MAGIC) { if (sblk->s_magic == SQUASHFS_MAGIC_SWAP) { struct squashfs_super_block ssblk; -- Bye, Peter Korsgaard |