Thread (23 messages) flat view 23 messages, 5 authors, 2016-06-22

Re: [iproute PATCH v2 7/7] ip/tcp_metrics: Simplify process_msg a bit

From: Phil Sutter <phil@nwl.cc>
Date: 2016-06-22 12:55:59

On Wed, Jun 22, 2016 at 01:34:13PM +0200, Jakub Sitnicki wrote:
On Tue, Jun 21, 2016 at 06:18 PM CEST, Phil Sutter [off-list ref] wrote:
[...]
quoted
-	a = attrs[TCP_METRICS_ATTR_ADDR_IPV4];
-	if (a) {
+	if ((a = attrs[TCP_METRICS_ATTR_ADDR_IPV4])) {
Copy the pointer inside the branch?

Same gain on indentation while keeping checkpatch happy.
Good point! Thanks for the patch. :)

Cheers, Phil
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help