Doug Ledford 495fbae6e2 IB/core: fix error unwind in sysfs hw counters code
Between the initial and final versions of the function setup_hw_stats,
the order of variable initialization was changed.  However, the unwind
flow on error did not properly keep up with the flow changes.  Make
the unwind flow match a proper unwind of the allocation flow, then
remove no longer needed variable initializations.

Fixes: b40f4757daa1 (IB/core: Make device counter infrastructure
dynamic)
Signed-off-by: Doug Ledford <dledford@redhat.com>
2016-06-07 09:50:52 -04:00
..
2016-05-24 14:44:04 -04:00
2015-10-08 11:09:10 +01:00
2015-06-12 14:49:18 -04:00
2015-05-05 13:21:27 -04:00
2016-03-03 10:20:25 -05:00
2016-06-06 19:36:21 -04:00
2016-05-13 19:40:01 -04:00
2016-01-19 15:25:45 -05:00
2008-07-14 23:48:44 -07:00
2016-06-06 19:36:21 -04:00
2016-05-13 13:37:18 -04:00
2016-03-03 10:20:25 -05:00
2016-05-13 13:37:57 -04:00
2016-03-03 10:20:25 -05:00
2016-05-13 13:37:57 -04:00