staging: et131x: Remove duplicate code for fbr[0, 1]
authorMark Einon <mark.einon@gmail.com>
Tue, 30 Oct 2012 18:38:54 +0000 (18:38 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 30 Oct 2012 19:30:13 +0000 (12:30 -0700)
commit788ca84ac7bb247427da07a430de47007efbfc47
treec484e7e3ddc733b810ad6f00d433c77052cb5f7a
parentc4ff7ef5cf7ee48770db91a88b361ecb7b450a18
staging: et131x: Remove duplicate code for fbr[0, 1]

Several places in et131x.c code is duplicated for fbr[0] and fbr[1].
Remove the duplicate lines and use loops to run over both indicies.

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