summaryrefslogtreecommitdiff
path: root/kernel/debug
diff options
context:
space:
mode:
authorMark Einon <mark.einon@gmail.com>2011-10-23 09:22:54 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2011-10-23 09:35:13 (GMT)
commit68cf162a1af23c35db8e3b78659c99196c9882ff (patch)
treebc87bf0b57ad7d3bd6f9a4913260a65c80c8a421 /kernel/debug
parent09a3fc2bf18ee3655d359872283cad40f40c512d (diff)
downloadlinux-fsl-qoriq-68cf162a1af23c35db8e3b78659c99196c9882ff.tar.xz
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 <mark.einon@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'kernel/debug')
0 files changed, 0 insertions, 0 deletions