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)
commitdc6a9453eb253658df8740d4d872c6323daf4f0d
treed4757ffb493403ca03497c9a005b5ad51b056201
parentd1e9fa98387549a24633fb6b00a26edb34382488
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