]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
kernel/resource.c: remove the unneeded assignment in function __find_resource
authorKevin Hao <haokexin@gmail.com>
Wed, 3 Jul 2013 22:09:16 +0000 (15:09 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 3 Jul 2013 23:08:06 +0000 (16:08 -0700)
commit0786f7b225ba1edd801dc4bfbf6191d058b943a2
treea8e18fc8de102ba01378d69f02f296814672acf0
parent4b30f07e74d2df673925019ad58bc59a719df3bb
kernel/resource.c: remove the unneeded assignment in function __find_resource

This line was introduced by fcb11918 ("resources: add arch hook for
preventing allocation in reserved areas").  But the struct tmp was already
assigned to *new in the above line, so this seems superfluous.  Just
remove it.

Signed-off-by: Kevin Hao <haokexin@gmail.com>
Cc: Bjorn Helgaas <bjorn.helgaas@hp.com>
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/resource.c