Page MenuHomeFreeBSD

Static analysis: Remove unused variables in IPv6 code
ClosedPublic

Authored by jtl on May 26 2017, 4:43 PM.
Tags
None
Referenced Files
F166949183: D10940.id.diff
Tue, Aug 18, 1:10 AM
F166914304: D10940.id28871.diff
Mon, Aug 17, 5:56 PM
Unknown Object (File)
Sun, Aug 16, 8:56 PM
Unknown Object (File)
Sun, Aug 16, 7:38 PM
Unknown Object (File)
Sun, Aug 16, 7:16 PM
Unknown Object (File)
Sat, Aug 15, 9:28 PM
Unknown Object (File)
Sat, Aug 15, 9:26 PM
Unknown Object (File)
Sat, Aug 15, 7:58 PM
Subscribers

Details

Summary

I ran clang's static analyzer over the kernel sources. It identified a number of places where variables are set, but not used. This change cleans up a number of these places.

Sponsored by: Netflix
MFC after: 2 weeks

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Most of these changes have been committed by now. Updating diff with a few remaining bits.

Starting the (approx.) 48-hour countdown timer until commit.

bz added a subscriber: bz.

Seems good to me.

This revision is now accepted and ready to land.Mar 22 2018, 2:14 PM
This revision was automatically updated to reflect the committed changes.