]> git.baikalelectronics.ru Git - kernel.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)
commit972b58a493eb24bfd39568aab01b5f12c9c031e9
treea8e18fc8de102ba01378d69f02f296814672acf0
parent7b4505aac3c132fe9f02be1754fca5bed8b0902b
kernel/resource.c: remove the unneeded assignment in function __find_resource

This line was introduced by 5ff87833 ("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