]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
[IPV4]: Small style cleanup of the error path in rtm_to_ifaddr.
authorDenis V. Lunev <den@openvz.org>
Fri, 1 Feb 2008 02:47:00 +0000 (18:47 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Feb 2008 03:28:38 +0000 (19:28 -0800)
commit7b2185747c32260a3e43b94812e96d22a8725f09
tree942b0af12bab516a627075fcd0b2e2cf4d34711b
parentdce5cbeec32eb5db4d406b732b1256c6f702bde5
[IPV4]: Small style cleanup of the error path in rtm_to_ifaddr.

Remove error code assignment inside brackets on failure. The code
looks better if the error is assigned before condition check. Also,
the compiler treats this better.

Signed-off-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/devinet.c