summaryrefslogtreecommitdiff
path: root/xio.h
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2013-05-21 14:42:28 +0200
committerTobias Klauser <tklauser@distanz.ch>2013-05-21 14:47:57 +0200
commit160bb3a3a1fad035e0c483f47b06c525189550e0 (patch)
treef16c76454592acfcde20dc7448ca6a0872e81d69 /xio.h
parent18d49f2b1ca529d881b8e1064da57b372698a0cd (diff)
trafgen: Remove unnecessary reinitialization of icmp packet
The entire packet is zeroed using memset() three lines above, thus there is no need to set icmp->code and icmp->checksum to 0 explicitely again. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'xio.h')
0 files changed, 0 insertions, 0 deletions
350000 && min_uV <= 150000 is never reachable because of a typo in the previous range check and hence vsel = 59 is never reached. Fix the previous range check to enable the vsel = 59 setting. Fixes CoverityScan CID#728454 ("Logially dead code") Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/usb/serial')