summaryrefslogtreecommitdiff
path: root/sound/i2c
diff options
context:
space:
mode:
authorAlexander Duyck <alexander.h.duyck@intel.com>2012-05-03 01:19:09 +0400
committerDavid S. Miller <davem@davemloft.net>2012-05-03 12:21:33 +0400
commit34a802a5b9c4c4efb61828781230805be6dd0f8e (patch)
tree45be14af435925382374f42619af2d1b602eee52 /sound/i2c
parent57b55a7ec684d8b846d6d5e67f4982363a83db7e (diff)
downloadlinux-34a802a5b9c4c4efb61828781230805be6dd0f8e.tar.xz
tcp: move stats merge to the end of tcp_try_coalesce
This change cleans up the last bits of tcp_try_coalesce so that we only need one goto which jumps to the end of the function. The idea is to make the code more readable by putting things in a linear order so that we start execution at the top of the function, and end it at the bottom. I also made a slight tweak to the code for handling frags when we are a clone. Instead of making it an if (clone) loop else nr_frags = 0 I changed the logic so that if (!clone) we just set the number of frags to 0 which disables the for loop anyway. Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com> Cc: Eric Dumazet <edumazet@google.com> Cc: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Acked-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'sound/i2c')
0 files changed, 0 insertions, 0 deletions