]> git.baikalelectronics.ru Git - kernel.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)
commitfbcdf83059e0babf5806b44f35d16982ab2c76cf
treed309b848303c3e70c9a36f87c438fd615379686b
parent08e47178cd194d8990ce8ee701c514dd05752ccb
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