From: Mark Einon Date: Sun, 23 Oct 2011 09:22:54 +0000 (+0100) Subject: staging: et131x: Remove redundant check and return statement X-Git-Tag: v3.2-rc1~169^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68cf162a1af23c35db8e3b78659c99196c9882ff;p=pandora-kernel.git staging: et131x: Remove redundant check and return statement 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed