From: Tejun Heo Date: Tue, 5 Jun 2012 11:36:44 +0000 (+0200) Subject: blkcg: drop local variable @q from blkg_destroy() X-Git-Tag: v3.5-rc6~20^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27e1f9d1cc87be4e53c6eb7158cafc21c4b85a14;p=pandora-kernel.git blkcg: drop local variable @q from blkg_destroy() blkg_destroy() caches @blkg->q in local variable @q. While there are two places which needs @blkg->q, only lockdep_assert_held() used the local variable leading to unused local variable warning if lockdep is configured out. Drop the local variable and just use @blkg->q directly. Signed-off-by: Tejun Heo Reported-by: Rakesh Iyer Signed-off-by: Jens Axboe --- Reading git-diff-tree failed