llc2: Remove explicit indexing of state action arrays
authorBen Hutchings <ben@decadent.org.uk>
Sat, 15 Sep 2012 17:11:40 +0000 (17:11 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Sep 2012 17:04:19 +0000 (13:04 -0400)
commitda3188801898f2fb8859c232554b100f2a0250f8
treef18f6dbaf6e3a54182bec9d758ca5f23e38aa595
parent5ecf9eea2660c4fe894fabd3c3d0b64860fb0160
llc2: Remove explicit indexing of state action arrays

These arrays are accessed by iteration in
llc_exec_station_trans_actions().  There must not be any zero-filled
gaps in them, so the explicit indices are pointless.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/llc/llc_station.c