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>
This commit is contained in:
Benjamin Romer 2016-02-23 10:01:53 -05:00 committed by Greg Kroah-Hartman
parent c2c667d6bd
commit 7a9749be2f

View File

@ -1320,7 +1320,7 @@ chipset_bus_destroy(struct visor_device *dev)
static void static void
chipset_device_create(struct visor_device *dev_info) chipset_device_create(struct visor_device *dev_info)
{ {
int rc = -1; int rc;
u32 bus_no = dev_info->chipset_bus_no; u32 bus_no = dev_info->chipset_bus_no;
u32 dev_no = dev_info->chipset_dev_no; u32 dev_no = dev_info->chipset_dev_no;