staging: et131x: Remove redundant check and return statement
authorMark Einon <mark.einon@gmail.com>
Sun, 23 Oct 2011 09:22:54 +0000 (10:22 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 23 Oct 2011 09:35:13 +0000 (11:35 +0200)
In nic_send_packet(), by the time 'frag' is checked to be zero, it never
is - the for loop has been entered (as nr_frags is always > 0) and frag
has been incremented at least once. Remove the check and associated
error return.

Signed-off-by: Mark Einon <mark.einon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

No differences found