summaryrefslogtreecommitdiff
path: root/mm/shmem.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2012-06-05 13:36:44 +0200
committerJens Axboe <axboe@kernel.dk>2012-06-06 08:35:31 +0200
commit27e1f9d1cc87be4e53c6eb7158cafc21c4b85a14 (patch)
treecdb26074805f8635af606bd1b9e92f21481c0d51 /mm/shmem.c
parent7b421d24eac79800ee68905f732300a291f72f00 (diff)
downloadlwn-27e1f9d1cc87be4e53c6eb7158cafc21c4b85a14.tar.gz
lwn-27e1f9d1cc87be4e53c6eb7158cafc21c4b85a14.zip
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 <tj@kernel.org> Reported-by: Rakesh Iyer <rni@google.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'mm/shmem.c')
0 files changed, 0 insertions, 0 deletions