Re: [ckrm-tech] [RFC][Patch 3/5] Per-task delay accounting: Syncblock I/O delays

From: Dave Hansen
Date: Wed Dec 07 2005 - 17:33:41 EST


On Wed, 2005-12-07 at 22:23 +0000, Shailabh Nagar wrote:
>
> + if (-EIOCBQUEUED == ret) {
> + __attribute__((unused)) struct timespec start, end;
> +

Those "unused" things suck. They're really ugly.

Doesn't making your delay functions into static inlines make the unused
warnings go away?

-- Dave

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/