[Ocfs2-devel] [-mm patch] fs/ocfs2/inode.c:ocfs2_refresh_inode(): remove unused variable

Adrian Bunk bunk at stusta.de
Thu Jul 6 15:37:08 CDT 2006


On Mon, Jul 03, 2006 at 03:03:55AM -0700, Andrew Morton wrote:
>...
> Changes since 2.6.17-mm5:
>...
> +inode-diet-eliminate-i_blksize-and-use-a-per-superblock-default.patch
>...
>  Misc updates.
>...

This patch removes a no longer used variable.

Signed-off-by: Adrian Bunk <bunk at stusta.de>

--- linux-2.6.17-mm6-full/fs/ocfs2/inode.c.old	2006-07-06 21:10:23.000000000 +0200
+++ linux-2.6.17-mm6-full/fs/ocfs2/inode.c	2006-07-06 21:13:44.000000000 +0200
@@ -1163,8 +1163,6 @@
 void ocfs2_refresh_inode(struct inode *inode,
 			 struct ocfs2_dinode *fe)
 {
-	struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
-
 	spin_lock(&OCFS2_I(inode)->ip_lock);
 
 	OCFS2_I(inode)->ip_clusters = le32_to_cpu(fe->i_clusters);




More information about the Ocfs2-devel mailing list