diff options
| author | Shyam Saini <[email protected]> | 2017-01-14 06:47:40 +0530 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-01-14 12:00:00 -0500 |
| commit | ca4b5eb88aa0da96ede750d8b894e7079612aa65 (patch) | |
| tree | b89f666993e3808c06be7b09d31cebd40de12a79 /include/uapi | |
| parent | f750e82e7fcba219a0b401d75a58d9fbd956744c (diff) | |
cxgb4: Remove redundant memset before memcpy
The region set by the call to memset, immediately overwritten by
the subsequent call to memcpy and thus makes the memset redundant.
Also remove the memset((&info, 0, sizeof(info)) on line 398 because
info is memcpy()'ed to before being used in the loop and it isn't
used outside of the loop.
Signed-off-by: Shyam Saini <[email protected]>
Reviewed-by: Tobias Klauser <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions