]> git.karo-electronics.de Git - linux-beck.git/commit
staging: unisys: remove pointless init of rc in chipset_device_create()
authorBenjamin Romer <benjamin.romer@unisys.com>
Tue, 23 Feb 2016 15:01:53 +0000 (10:01 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 26 Feb 2016 06:40:52 +0000 (22:40 -0800)
commit7a9749be2f7e8791e845fcf59dbf90ee0612b1dc
treed309b848303c3e70c9a36f87c438fd615379686b
parentc2c667d6bd78794bc3ee63939786caafe2169a4b
staging: unisys: remove pointless init of rc in chipset_device_create()

The value of rc is set by calling a function, so there's no need to
initialize it to -1, or anything at all.

Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorbus/visorbus_main.c