diff options
author | Jean Delvare <[email protected]> | 2022-03-01 17:28:59 +0100 |
---|---|---|
committer | Wolfram Sang <[email protected]> | 2022-03-02 22:11:42 +0100 |
commit | 9c02c6391c88a9d2669c2ff8da92cf6efd7f760b (patch) | |
tree | 40725294043c78c113e17349873b9fa5eaede4ca /net/lapb/lapb_in.c | |
parent | d7583c8a57485da19feb6dd85573763a8c5ec1d1 (diff) |
i2c: i801: Drop useless masking in i801_access
I went all the way back to kernel 2.6.12 and that masking was never
needed. I suppose it was there in anticipation of software PEC
support, but that was never added to the driver (and never will be,
as this is made obsolete by hardware PEC).
I'm also removing initialization to 0, which is not needed either,
and would prevent the compiler from reporting an actual usage of
uninitialized variables.
Signed-off-by: Jean Delvare <[email protected]>
Reviewed-by: Jarkko Nikula <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions