mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-18 16:36:43 +07:00
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:
parent
c2c667d6bd
commit
7a9749be2f
@ -1320,7 +1320,7 @@ chipset_bus_destroy(struct visor_device *dev)
|
||||
static void
|
||||
chipset_device_create(struct visor_device *dev_info)
|
||||
{
|
||||
int rc = -1;
|
||||
int rc;
|
||||
u32 bus_no = dev_info->chipset_bus_no;
|
||||
u32 dev_no = dev_info->chipset_dev_no;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user