staging: unisys: visornic: cleanup error handling
authorDavid Binder <david.binder@unisys.com>
Thu, 12 May 2016 13:14:46 +0000 (09:14 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Jun 2016 05:55:19 +0000 (22:55 -0700)
commitd12324e37d4f384b93df65d5188a1875ee80ed4c
treeb0785f0e9ffeb90130ee0cfb3a8182a60e635707
parent6d8c96cbc161168726480ab01ad5c53fd6b2e04a
staging: unisys: visornic: cleanup error handling

Adjusts goto labels to prevent attempts to free unallocated resources.

Signed-off-by: David Binder <david.binder@unisys.com>
Signed-off-by: David Kershner <david.kershner@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visornic/visornic_main.c