reset: remove unnecessary local variable initialization from of_reset_control_get_by_...
authorPhilipp Zabel <p.zabel@pengutronix.de>
Tue, 8 Dec 2015 17:49:53 +0000 (18:49 +0100)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 25 Jan 2016 09:58:44 +0000 (10:58 +0100)
commitd056c9b81918675c6dedbfae042c2329effad786
tree502089ad41a3e42201a59f8e025b74b6085ee06c
parent92e963f50fc74041b5e9e744c330dca48e04f08d
reset: remove unnecessary local variable initialization from of_reset_control_get_by_index

There is no need to initialize rstc, as it is unconditionally
assigned the return value of a kzalloc call before use.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/reset/core.c