Re: [PATCH] staging: kpc2000: simplify error handling in kp2000_pcie_probe

2019-06-19 Thread Dan Carpenter
On Wed, Jun 19, 2019 at 08:36:07AM +0200, Simon Sandström wrote: > We can get rid of a few iounmaps in the middle of the function by > re-ordering the error handling labels and adding two new labels. > > Signed-off-by: Simon Sandström > --- > > This change has not been tested besides by

[PATCH] staging: kpc2000: simplify error handling in kp2000_pcie_probe

2019-06-19 Thread Simon Sandström
We can get rid of a few iounmaps in the middle of the function by re-ordering the error handling labels and adding two new labels. Signed-off-by: Simon Sandström --- This change has not been tested besides by compiling. It might be good took take an extra look to make sure that I got everything