On Thu, Jan 23, 2014 at 07:31:17PM +0000, Andrey V. Elsukov wrote: > @@ -122,7 +123,7 @@ geom_alloc_copyin(struct gctl_req *req, > void *ptr; > > ptr = g_malloc(len, M_WAITOK); > - nreq->nerror = copyin(uaddr, ptr, len); > + req->nerror = copyin(uaddr, ptr, len); > if (!req->nerror) > return (ptr); > if (ptr != NULL)
Is not this if (ptr != NULL) unnecesary? -- Mateusz Guzik <mjguzik gmail.com> _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"