[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <AANLkTinW8t9QdXwZdjESVh_fR64o6DXun_zSWa0HYXu6@mail.gmail.com>
Date: Mon, 26 Jul 2010 05:29:04 +0800
From: Parmenides <mobile.parmenides@...il.com>
To: linux-kernel@...r.kernel.org
Subject: why are there some redundant variable definition
Hi,
I have read a macro like this
++++ include/linux/kernel.h
159: #define min_t(type,x,y) \
160: ({ type __x = (x); type __y = (y); __x < __y ? __x: __y; })
++++ net/ipv4/tcp_output.c
654: int full_space = min_t(int, tp->window_clamp, tcp_full_space(sk));
The definitions of __x and __y are somewhat redundant. I think a more
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists