diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2015-08-28 21:31:10 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-04 14:03:15 +0200 |
commit | 9b76968db6869666c9b30ea99894e9dd88a0ab13 (patch) | |
tree | af431cbb3786c6e3bebe50b20e080e8268efc39f /net/tipc/addr.c | |
parent | spmi: pmic-arb: Don't byte swap when reading/writing FIFO (diff) | |
download | linux-9b76968db6869666c9b30ea99894e9dd88a0ab13.tar.xz linux-9b76968db6869666c9b30ea99894e9dd88a0ab13.zip |
spmi: pmic-arb: u8 <= 0xff is always true
Silences this static checker warning:
drivers/spmi/spmi-pmic-arb.c:363
pmic_arb_write_cmd() warn: always true condition
'(opc <= 255) => (0-255 <= 255)'
Cc: Andy Gross <agross@codeaurora.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/tipc/addr.c')
0 files changed, 0 insertions, 0 deletions