commit | 5618c8e24ad6ab09282f6583a228d80c1fd14c65 | [log] [tgz] |
---|---|---|
author | Colin Ian King <colin.king@canonical.com> | Wed Nov 01 08:57:37 2017 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Nov 02 15:52:19 2017 +0900 |
tree | da3221b5fb53367f6e83fb9e374d1fc0b41ccd81 | |
parent | 3a1246fcbcb43b33c4540d74c36119d6389a24b4 [diff] |
net: dl2k: remove redundant re-assignment to np The pointer np is initialized and then re-assigned the same value a few lines later. Remove the redundant duplicated assignment. Cleans up clang warning: drivers/net/ethernet/dlink/dl2k.c:314:25: warning: Value stored to 'np' during its initialization is never read Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: David S. Miller <davem@davemloft.net>