]> git.baikalelectronics.ru Git - kernel.git/commit
of/unittest: remove the duplicate of_changeset_init
authorWang Long <long.wanglong@huawei.com>
Mon, 2 Mar 2015 06:49:21 +0000 (06:49 +0000)
committerRob Herring <robh@kernel.org>
Tue, 10 Mar 2015 15:34:34 +0000 (10:34 -0500)
commit92f2833437b1ff6b061d96212eab64bdaab92d48
treed4757ffb493403ca03497c9a005b5ad51b056201
parenta2720c412b2c831e1db623ab7b2c7ddb434408c8
of/unittest: remove the duplicate of_changeset_init

Remove the duplicate of_changeset_init. In of_selftest_changeset
testcase, the "struct of_changeset chgset" is initialized twice,
but only once is enough. so, drop the first initializtion code.

Signed-off-by: Wang Long <long.wanglong@huawei.com>
Signed-off-by: Rob Herring <robh@kernel.org>
drivers/of/unittest.c