summaryrefslogtreecommitdiff
path: root/drivers/staging/greybus
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2018-01-21 01:21:40 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-01-22 13:48:06 +0300
commit783778e38e4adf9d3e1691151c0f408e8cae514a (patch)
treead20746447bce409f9616acbc7c34db9887154db /drivers/staging/greybus
parent6065490a1f227c652b0b84f3c282bb8d2a40e640 (diff)
downloadlinux-783778e38e4adf9d3e1691151c0f408e8cae514a.tar.xz
staging: rtl8192e: remove two redundant assignments
Clang detected two redundant assignments that can be safely removed. The first is the removal of the duplicated assignment to pointer 'hdr', this has already been initialized with the same value. The second is the removal of the redundant initialization of variable 'timeout', this assigned value is never read and the variable is reassigned a new value a little later. Remove both redundant assignments, cleans up clang warnings: drivers/staging/rtl8192e/rtllib_rx.c:1305:27: warning: Value stored to 'hdr' during its initialization is never read drivers/staging/rtl8192e/rtllib_softmac.c:1971:6: warning: Value stored to 'timeout' during its initialization is never read Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/greybus')
0 files changed, 0 insertions, 0 deletions