aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorDavid Laight <David.Laight@ACULAB.COM>2014-07-04 14:35:57 +0000
committerDavid S. Miller <davem@davemloft.net>2014-07-08 14:39:00 -0700
commitd1a3fe26e97c0f17579c39f8a446c50f7cc3154a (patch)
tree8f30dc91827100ae42c0a90edc9cb00bb0fa56b4 /drivers
parentnet: sctp: Optimise the way 'sctp_arg_t' values are initialised. (diff)
downloadlinux-dev-d1a3fe26e97c0f17579c39f8a446c50f7cc3154a.tar.xz
linux-dev-d1a3fe26e97c0f17579c39f8a446c50f7cc3154a.zip
net: sctp: Use pointers (not array indexes) to access sctp_cmd_seq_t.cmds[].
Using pointers into sctp_cmd_seq_t.cmds[] lets the compiler generate much better code. Use the last entry first to optimise the overflow check. Signed-off-by: David Laight <david.laight@aculab.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions