staging: et131x: Simplify for loop in et131x_init_send()
authorMark Einon <mark.einon@gmail.com>
Mon, 29 Sep 2014 07:55:41 +0000 (08:55 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 29 Sep 2014 17:00:23 +0000 (13:00 -0400)
commit644bbf95f5e2937f4929866e0d8899a9ed42f691
treedf759b78a6bdf96b40bdf2705b1ff693b8f76dbe
parentccb32b13c79331cc64d81a00f3cca335b7c26c29
staging: et131x: Simplify for loop in et131x_init_send()

The for loop in this function increments two variables and has an unusual
starting index of 1 (not 0). Make it look more familiar.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mark Einon <mark.einon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/et131x/et131x.c