Messages in this thread | | | Date | Tue, 19 May 2020 20:47:12 -0300 | From | Jason Gunthorpe <> | Subject | Re: [PATCH v2] RDMA/rtrs: client: Fix function return on success |
| |
On Tue, May 19, 2020 at 11:36:12AM -0500, Gustavo A. R. Silva wrote: > Remove the if-statement and return the value contained in _err_, > unconditionally. > > Addresses-Coverity-ID: 1493753 ("Identical code for different branches") > Fixes: 6a98d71daea1 ("RDMA/rtrs: client: main functionality") > Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org> > Reviewed-by: Bart Van Assche <bvanassche@acm.org> > --- > Changes in v2: > - Return err, unconditionally. As suggested by Bart Van Assche. > Thanks, Bart.
Applied to for-next, thanks
Jason
| |