[ofa-general] Re: [PATCH 17/20] IB/ipath - user mode send DMA

Ralph Campbell ralph.campbell at qlogic.com
Fri Apr 4 14:30:51 PDT 2008


On Fri, 2008-04-04 at 14:12 -0700, Roland Dreier wrote:
> By the way...
> 
>  > +int ipath_user_sdma_pkt_sent(const struct ipath_user_sdma_queue *pq,
>  > +			     u32 counter)
>  > +{
>  > +	const u32 scounter = ipath_user_sdma_complete_counter(pq);
>  > +	const s32 dcounter = scounter - counter;
>  > +
>  > +	return dcounter >= 0;
>  > +}
> 
> I don't see this called anywhere... should I just delete it?

Yes. You can remove it.




More information about the general mailing list