commit | d37b4c0a3647db23f41c5ee85701eec3544446d1 | [log] [tgz] |
---|---|---|
author | Ivan Vecera <ivecera@redhat.com> | Wed Nov 18 14:06:34 2015 +0100 |
committer | David S. Miller <davem@davemloft.net> | Wed Nov 18 15:21:41 2015 -0500 |
tree | 902a854c1edef0032732576e03c2f8df834a48a0 | |
parent | 6fbaa57076ba46a1f2ebffdb47e1b64d5b4b5b9d [diff] |
be2net: remove local variable 'status' The lancer_cmd_get_file_len() uses lancer_cmd_read_object() to get the current size of registers for ethtool registers dump. Returned status value is stored but not checked. The check itself is not necessary as the data_read output variable is initialized to 0 and status variable can be removed. Signed-off-by: Ivan Vecera <ivecera@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>