Re: [PATCH rdma-core] librdmacm: Remove unneeded condition

Leon Romanovsky
2017-11-05T07:26:58Z

[-- Attachment #1: Type: text/plain, Size: 657 bytes --]

On Thu, Nov 02, 2017 at 10:45:28AM -0600, Jason Gunthorpe wrote:
> On Thu, Nov 02, 2017 at 03:10:27PM +0000, Bart Van Assche wrote:
> > On Thu, 2017-11-02 at 15:51 +0200, Yuval Shaia wrote:
> > > The check makes no difference - remove it.
> >
> > Shouldn't the description have been "Passing zero as third argument to
> > memcpy() is allowed so the if-test is not necessary. Hence leave it out"?
>
> +1

Yuval ?

Thanks

>
> Jason
> --
> To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
> the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]