From: Cyril Roelandt Date: Thu, 3 Apr 2014 22:05:21 +0000 (+0200) Subject: fs: cifs: remove unused variable. X-Git-Tag: omap-for-v3.16/pm-signed~77^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e3ecc87695f4a7e9e217ebd55ca6a39b6a451b8;p=pandora-kernel.git fs: cifs: remove unused variable. In SMB2_set_compression(), the "res_key" variable is only initialized to NULL and later kfreed. It is therefore useless and should be removed. Found with the following semantic patch: @@ identifier foo; identifier f; type T; @@ * f(...) { ... * T *foo = NULL; ... when forall when != foo * kfree(foo); ... } Signed-off-by: Cyril Roelandt Signed-off-by: Steve French --- Reading git-diff-tree failed