[PATCH 0/7] staging: unisys: goto/rc = -1 cleanup series

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This series cleans up all the places where rc = -1 was being done, either
as initialization, or to return an error value. In some places, it can
just be removed, but other places it was better to cleaning up goto
statements and eliminate the -1 at the same time.

Benjamin Romer (7):
  staging: unisys: fix return value for visorbus pci probe
  staging: unisys: remove goto in get_vbus_header_info
  staging: unisys: cleanup goto in create_visor_device()
  staging: unisys: get rid of goto in create_bus_instance()
  staging: unisys: remove pointless init of rc in
    chipset_device_create()
  staging: unisys: clean up initiate_chipset_device_pause_resume()
  staging: unisys: return meaningful error for visorchipset_init()

 drivers/staging/unisys/visorbus/visorbus_main.c | 96 +++++++++++--------------
 drivers/staging/unisys/visorbus/visorchipset.c  |  2 +-
 2 files changed, 44 insertions(+), 54 deletions(-)

-- 
2.5.0

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux