diff options
author | Wolfram Sang <[email protected]> | 2010-02-02 13:03:31 +0100 |
---|---|---|
committer | Ben Dooks <[email protected]> | 2010-05-20 00:19:01 +0100 |
commit | b5c80bc5d70a1ce5b071ed06dd95292b9de46f95 (patch) | |
tree | b31d6cde6971b099e90d2fbffceb85b9f27158f6 /net/lapb/lapb_in.c | |
parent | f0ec9e20bab214f4a26e6fdaaf5c2a6b2f2640d7 (diff) |
i2c-highlander: remover superflous variable
When cppcheck found this flaw
[./i2c/busses/i2c-highlander.c:284]: (style) Warning - using char variable in bit operation
it was noted that the 'read'-variable could be simply removed as read_write can
only be 0 or 1 anyhow. So, we remove the flaw and simplify the code.
Reported-by: d binderman <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
Acked-by: Paul Mundt <[email protected]>
Acked-by: Jean Delvare <[email protected]>
Cc: Ben Dooks <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions