mirror of
https://github.com/torvalds/linux.git
synced 2024-11-02 10:11:36 +00: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